| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* tmac/doc.tmac, tmac/doc-common: Do it.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
| |
Also, change SX to Em when it doesn't point at a real section name.
|
|
|
|
|
| |
* tmac/doc-syms (doc-str-St--isoC-2011): Add it.
* tmac/groff_mdoc.man: Document it.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common: Add many architecture names used in NetBSD and
OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS version
entry for Darwin-10.6.0.
* tmac/doc-syms: Add many library names used in NetBSD and FreeBSD.
* tmac/groff_mdoc.man: Document all supported architecture names, OS
versions, and library names.
|
|
|
|
|
| |
* tmac/doc-syms: Add `libdwarf' and `libelf'.
* tmac/groff_mdoc.man: Document them.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (doc-operating-system-NetBSD): Add versions 5.0,
5.0.1, and 5.0.2.
(doc-operating-system-OpenBSD-*): New strings.
(doc-operating-system-FreeBSD-*): Add version 8.1.
(doc-operating-system-DragonFly-*): Add versions 2.2, 2.4, 2.6, and
2.8.
(Os): Handle DragonFly and OpenBSD.
* tmac/groff_mdoc.man: Document OpenBSD releases.
Add DragonFly release 2.8.
|
|
|
|
|
|
| |
* tmac/groff_tmac.man: Fix prologue macro order.
Update NetBSD, FreeBSD, and DragonflyBSD version numbers.
Other minor layout improvements.
|
|
|
|
| |
From Krzysztof Zelechowski <giecrilj@stegny.2a.pl>
|
|
|
|
|
|
| |
* tmac/doc-common: Add FreeBSD versions 7.2, 7.3, and 8.0
* tmac/doc-syms: Add Posix 2008
* tmac/groff_mdoc.man: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (%U): New register.
(Rd): Handle `doc-url-count' and `doc-url-name'.
* tmac/doc.tmac (doc-url-count, doc-url-name): New registers.
(doc-save-global-vars, doc-restore-global-vars, doc-reset-reference,
doc-print-reference): Handle `doc-url-count' and `doc-url-name'.
(%U): New macro.
* NEWS, tmac/groff_mdoc.man: Document `%U' macro.
|
| |
|
|
|
|
| |
NetBSD 4.0.1.
|
|
|
|
|
|
|
|
| |
Tadziu Hoffmann. It can now process multiple man pages with both
man and mdoc formats intermixed.
* NEWS, tmaca/groff_man.man, tmac/groff_mdoc.man,
man/groff_tmac.man: Document it.
|
|
|
|
| |
* tmac/groff_mdoc.man: Document it.
|
|
|
|
|
|
| |
FreeBSD 5.5 and 7.0.
* tmac/doc-syms: Give better names for System V releases.
|
|
|
|
|
| |
Recommend `tbl' instead of `-column' lists for more complicated
cases.
|
|
|
|
|
|
|
|
|
|
|
| |
(doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
strings.
(doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
doc-operating-system-DragonFly-*): New operating system strings.
* tmac/groff_mdoc.man, NEWS: Document `Dx'.
|
|
|
|
|
| |
* tmac/doc-common (Os): Add more Darwin versions.
* tmac/groff_mdoc.man: Document them.
|
|
|
|
| |
* tmac/groff_mdoc.man: Updated.
|
|
|
|
| |
* tmac/groff_mdoc.man: Document them.
|
|
|
|
|
|
|
|
|
| |
* tmac/an-old.tmac (LL): Initialize it to respect prior LL register
assignment, prior `.ll' request and then package defaults, in this
specified order of decreasing priority.
* tmac/groff_man.man, doc/groff.texinfo: Document altered `LL'
register initialization priorities.
|
|
|
|
| |
be abbreviated.
|
| |
|
|
|
|
|
|
| |
doc-operating-system-NetBSD-2.0.2): New strings.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
| |
tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
Update BSD license.
|
| |
|
| |
|
|
|
|
| |
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
|
|
|
|
|
| |
tmac/TODO: Updated.
* tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
doc-str-Lb-librt): Reset font.
(Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
Provide `doc-str-Lb' to reset font.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (doc-in-library-section): New register.
(doc-section-library): New string.
(Sh): Set `doc-in-library-section'.
(Rd): Updated.
* tmac/doc-syms (Lb): Insert breaks before and after arguments
if in LIBRARY section.
* tmac/doc.tmac (doc-save-global-vars): Updated.
* NEWS, tmac/groff_mdoc.man: Updated.
* tmac/doc-common (doc-default-operating-system): New variable.
(Os): Use it.
|
|
|
|
| |
characters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after `/*' and `*/'.
Fix spacing.
(Fn, Fo): Reduce indentation in synopsis.
* tmac/doc-common (doc-check-depth): New macro.
(doc-end-macro, Sh, Ss): Use it.
(Cd): Fix behaviour in synopsis.
(In): Make it parsed and callable.
If not in the synopsis, represent the C header file enclosed in
angle brackets.
(doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
Use minus, not hyphen.
* tmc/groff_mdoc.man: Updated.
|
|
|
|
|
|
| |
correctly.
* tmac/groff_mdoc.man: Slight improvements.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (Dt): Don't emit warning for unknown section.
* tmac/groff_mdoc.man: Fix description of `Dt'.
* font/devps/prologue.ps: Fix for included Postscript that does
a setpagedevice -- which is now safely ignored.
* NEWS: Updated.
* src/devices/grops/ps.cc: Now sets the page size in the generated
document. This is done in two ways: Via a %%-comment for gv and
the like, and via a PageSize and setpagedevice for programs that
understands Postscript proper, like ps2pdf.
* src/devices/grops/ps.h: New broken-flag to avoid page size
definition, if required.
* src/devices/grops/grops.man: New broken-flag 16 mentioned.
* doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
Not really necessary due to the fix in prologue.ps, but cleaner:
Such information does not belong in an .eps file.
* doc/Makefile.sub: See doc/Makefile.in.
* aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
instead of P1 since the latter is broken in some versions of netpbm.
* configure: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
suppress additional whitespace after the header.
* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
with NetBSD.
* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
(Dt): Use it to improve language localization (especially Russian
and French).
* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
drawing commands.
* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
curve type.
Call `picurve' for BSPLINE.
(HGPrintElt): Handle BSPLINE.
* src/preproc/grn/README: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
headers (both in the text and the table of contents).
* man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
directories.
Use registers LL and LT (similar to -ms) for controlling the
length of title and line, respectively, in the -man and -mdoc
macro packages.
* tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
(doc-setup-page-layout): Use \n[LL] and \n[LT].
* tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
(TH): Use \n[LL].
(an-header, an-p-footer): Use \n[LT].
* NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
doc/groff.texinfo: Document it.
|
|
|
|
|
|
|
|
|
|
|
| |
internal .y.o rule took precendence over the .y.cc rule, compiling
the yacc files with gcc instead of g++.
* tmac/dvi.tmac: Add replacement font for `CB'.
* tmac/doc.tmac: s/request/macro/ in messages.
(doc-generic-macro): Improve error message.
* tmac/groff_mdoc.man: Minor improvements.
|
| |
|
|
|
|
|
| |
Do some syntax cleanup.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
longer used.
* src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
order of initializers.
* NEWS: Updated.
* doc/groff.texinfo: Fix documentation of \O.
* src/devices/grohtml/html-text.cc (html_text::do_indent,
html_text::do_table, html_text::do_emittext, html_text::do_para):
Use `const' for first argument.
(html_text::do_table): Use cast.
* src/devices/grohtml/html-text.h: Updated.
* src/devices/grohtml/output.cc (simple_output::put_string): Add
method for `const string &s'.
* src/devices/grohtml/html.h: Updated.
* src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
(ANCHOR_TEMPLATE): Modified.
(manufacture_headings): New global variable to handle `-h' option.
(is_subsection): Removed.
(char_buffer::add_string): Add `const' to first argument.
Protect against invalid string argument.
Add method for `const string &s'.
(text_glob): Completely redesigned.
(page): Use `const' for strings and remove string length variable.
(page::add_html): Removed.
(page::add_end_encode): New member function.
(to_unicode): Moved upwards.
(title_desc, header_desc): Updated.
(header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
definition.
(html_printer::is_bold, html_printer::make_bold): New member
functions.
(html_printer::end_of_line): Updated.
(generate_img_src, html_printer::do_auto_image,
html_printer::do_title, html_printer::write_header,
html_printer::determine_header_level, html_printer::do_heading,
html_printer::do_linelength, html_printer::do_pageoffset,
html_printer::do_indentation, html_printer::do_tempindent,
html_printer::do_indentedparagraph, html_printer::do_break,
html_printer::flush_sbuf, get_html_translation,
html_printer::begin_page, html_printer::special): Rewritten to get
rid of static string length limit.
(html_printer::troff_tag): Added `.no-auto-rule'.
(html_printer::flush_globs): Small fix.
(html_printer::determine_space): Don't compute `space_width'.
(html_printer::translate_to_html): Renamed to ...
(html_printer::emit_html): This (with updates).
(html_printer::write_header): Implement `-h' option.
(html_printer::draw): Remove commented-out code. Handle `F'
command.
(html_printer::add_char_to_sbuf): Removed.
(html_printer::add_to_sbuf): Rewritten.
(html_printer::sbuf_continuation): Fixed.
(html_printer::seen_backwards_escape, reverse,
html_printer::remove_last_char_from_sbuf): Removed.
(char_translate_to_html, str_translate_to_html): Removed.
(html_printer::overstrike): New function member.
(html_printer::set_char): Use it.
(html_printer::do_body): New function member.
(html_printer::~html_printer): Use it.
(main): Handle `-h' option.
(usage): Updated.
* src/devices/grohtml/grohtml.man: Document -h switch.
* src/preproc/html/pre-html.cc: Include searchpath.h
Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
(get_resolution): New function.
(checkImageDir): Use `0777' permissions in mkdir()
(write_start_image): Rewritten to use `\O[5...]'.
(createImage, generateImages): Updated.
(main): Handle `F' and `h' options.
Use `get_resolution'.
* src/roff/troff/input.cc (begin, end, image): Removed.
(do_suppress): Take parameter.
Handle modified syntax of `\O'.
(token::next): Updated.
(init_markup_requests): Removed.
(main): Updated.
* src/roff/troff/div.h: Add declaration for begin_page().
* tmac/color-html.tmac: Removed. Contents moved to...
* tmac/html.tmac: Here. Set background color.
* tmac/color.tmac: Removed. Contents moved to...
* tmac/ps.tmac: Here.
* tmac/www.tmac: Remove the title command when generating images
for html.
(NO_AUTO_RULE): New macro.
(HTML_DO_IMAGE): Use revised `\O' escapes.
* tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
|
|
|
|
| |
tmac/groff_mdoc.man: Don't use .ne for TTY devices.
|
|
|
|
| |
* tmac/doc-common, tmac/groff_tmac.man: Updated.
|
|
|
|
|
| |
argument.
* tmac/groff_tmac.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/libs/libgroff/mkstemp.cc: New file.
* src/libs/libgroff/mksdir.cc: New file.
* src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
(xtmpfile) [!HAVE_MKSTEMP]: Removed.
* src/libs/libgroff/Makefile.sub: Updated.
* src/include/lib.h: Add mksdir() prototype.
* src/include/posix.h: Define S_IXUSR if not yet defined.
* src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
(createAllPages): Use mksdir() instead of current code.
* src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
(main): [!HAVE_MKSTEMP]: Removed.
* aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
(GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
macros.
* configure.ac: Add tests for stdint.h, sys/time.h, and
gettimeofday().
Call new GROFF_xxx macros.
* configure: Regenerated.
* Makefile.in: Comments updated.
|
|
|
|
|
|
| |
* tmac/groff_mdoc.man: Document new -width and -column syntax.
Some other minor fixes.
* tmac/an-old.tmac: Add `AT' and `UC' macros.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge -xwidth into -width. Add -xwidth functionality to -column
also.
* tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
avoid warning.
(doc-do-Bl-args): Merge -xwidth code with -width. Test whether
string immediately following a leading dot starts with a valid mdoc
argument.
Add similar code to the -column branch.
(doc-Bl-usage): Updated.
* groff_mdoc.man: s/-xwidth/-width/.
2001-07-12 Gaius Mulley <gaius@glam.ac.uk>
* src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
running into centered or non-formatted text.
2001-07-11 Werner LEMBERG <wl@gnu.org>
Introduce short and long prefixes to have the selection at run-time
whether there is a 8+3 limit for names of temporary files.
* src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
(TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
(tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
variables.
(temp_init): New global structure to initialize above three
variables.
(xtmptemplate): Use two parameters for long and short prefix.
Simplify code use above three variables.
(xtmpfile): Use long and short prefixes as parameters.
* src/include/lib.h: Updated.
* src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
with ...
({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
(createAllPages, makeTempFiles): Updated.
2001-07-09 Werner LEMBERG <wl@gnu.org>
* REVISION: Increased to 3.
|
|
|
|
|
| |
Fix synopsis.
* tmac/groff_mdoc.man: Fix synopsis.
|
|
|
|
|
|
|
| |
* *.man: Don't use `s' in preprocessor string -- it doesn't exist.
Updated/added copyright.
Moved Emacs's local variable to identify nroff mode to the end of
the file; add local variable if missing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated documentation.
* tmac/doc.tmac (doc-defunct-macro): New macro.
(Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
(doc-restore-global-vars): Fixed typo.
* tmac/doc-common: Removed `Or' and `Sf' registers.
Moved obsolete `Ds' macro to doc.tmac.
* tmac/groff_mdoc.man: Bump document date.
Document `.Vt' under ``Variable Types''.
Removed documentation for obsolete `.Or' macro.
|
|
|
|
| |
* tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
|