summaryrefslogtreecommitdiff
path: root/tmac/groff_mdoc.man
Commit message (Collapse)AuthorAgeFilesLines
* [mdoc] Implement `.%C'.wl2013-07-311-3/+5
| | | | | * tmac/doc.tmac, tmac/doc-common: Do it. * tmac/groff_mdoc.man: Updated.
* TBLization, as discussed on the list.esr2012-08-141-70/+75
| | | | Also, change SX to Em when it doesn't point at a real section name.
* [mdoc] Add `-isoC-2011'.wl2012-01-031-0/+2
| | | | | * tmac/doc-syms (doc-str-St--isoC-2011): Add it. * tmac/groff_mdoc.man: Document it.
* [mdoc] Synchronize string tables with the mandoc(1) utility.wl2011-10-291-14/+93
| | | | | | | | | | | * 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.
* [mdoc] Add some library strings.wl2011-09-111-0/+4
| | | | | * tmac/doc-syms: Add `libdwarf' and `libelf'. * tmac/groff_mdoc.man: Document them.
* [mdoc]: Complete previous patch and document OpenBSD releases.wl2010-11-021-2/+5
| | | | | | | | | | | | | * 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.
* [mdoc]: Improve man page.wl2010-11-021-12/+14
| | | | | | * tmac/groff_tmac.man: Fix prologue macro order. Update NetBSD, FreeBSD, and DragonflyBSD version numbers. Other minor layout improvements.
* mdoc: Improve documentation for `.Nm'.wl2010-06-041-1/+6
| | | | From Krzysztof Zelechowski <giecrilj@stegny.2a.pl>
* Add new FreeBSD and Posix versions.wl2010-02-241-2/+4
| | | | | | * 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.
* Implement `%U' in mdoc for URL references.wl2009-10-261-0/+2
| | | | | | | | | | | | * 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.
* * tmac/groff_mdoc.man: Update OS version string listing.wl2009-01-021-2/+2
|
* * tmac/doc-common (doc-operating-system-*), tmac/groff_mdoc.man: Addwl2008-10-161-4/+6
| | | | NetBSD 4.0.1.
* * tmac/andoc.tmac: Rewritten, based on a preliminary version fromwl2008-10-041-1/+2
| | | | | | | | 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/doc-syms (doc-str-St--susv3): New string.wl2007-11-111-0/+2
| | | | * tmac/groff_mdoc.man: Document it.
* * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, documentwl2007-10-021-1/+1
| | | | | | FreeBSD 5.5 and 7.0. * tmac/doc-syms: Give better names for System V releases.
* * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.wl2007-05-301-81/+87
| | | | | Recommend `tbl' instead of `-column' lists for more complicated cases.
* * tmac/doc-syms (Dx): New macro to identify DragonFly.wl2006-03-211-0/+22
| | | | | | | | | | | (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'.
* * src/preproc/tbl/tbl.man: Mention default length of text blocks.wl2006-03-131-1/+1
| | | | | * tmac/doc-common (Os): Add more Darwin versions. * tmac/groff_mdoc.man: Document them.
* * tmac/doc-common: Add new FreeBSD and NetBSD versions.wl2006-01-051-4/+4
| | | | * tmac/groff_mdoc.man: Updated.
* * tmac/doc-common (Os): Add some Darwin versions.wl2006-01-011-1/+3
| | | | * tmac/groff_mdoc.man: Document them.
* Backward compatibility support for `man' program.wl2005-09-011-3/+6
| | | | | | | | | * 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.
* * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn'twl2005-08-291-2/+5
| | | | be abbreviated.
* Fix minor typo. From garys@opusnet.com (Gary W. Swearingen).wl2005-08-281-2/+2
|
* * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,wl2005-03-181-2/+2
| | | | | | doc-operating-system-NetBSD-2.0.2): New strings. * tmac/groff_mdoc.man: Updated.
* * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,wl2005-02-041-4/+2
| | | | | tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac: Update BSD license.
* * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.wl2004-12-161-0/+2
|
* Minor typos.wl2004-10-041-3/+1
|
* * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.wlemb2004-07-091-1/+3
| | | | * tmac/groff_mdoc.man: Updated.
* * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,wlemb2004-05-121-8/+46
| | | | | | | | | | 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.
* Support multiple calls of .Lb in LIBRARY section.wlemb2003-09-201-1/+8
| | | | | | | | | | | | | | * 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.
* * tmac/groff_mdoc.man: Improve documentation of punctuationwlemb2003-07-061-0/+9
| | | | characters.
* * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a commawlemb2003-07-031-4/+14
| | | | | | | | | | | | | | | | | 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.
* * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counterwlemb2003-05-151-2/+3
| | | | | | correctly. * tmac/groff_mdoc.man: Slight improvements.
* * doc/texinfo.tex: New version 2003-02-11.06.wlemb2003-02-271-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') towlemb2002-10-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* * doc/groff.texinfo: Don't use the string `Appendix' for appendixwlemb2002-05-031-0/+11
| | | | | | | | | | | | | | | | | | 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.
* * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- thewlemb2002-03-231-36/+54
| | | | | | | | | | | 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.
* * tmac/groff_mdoc.man: Minor fixes.wlemb2002-01-151-7/+12
|
* * tmac/doc-common (Dt): Change output of architecture strings.wlemb2001-12-251-17/+18
| | | | | Do some syntax cleanup. * tmac/groff_mdoc.man: Updated.
* * src/roff/troff/input.cc (get_delim_file_name): Removed since nowlemb2001-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * contrib/mm/groff_mm.man, man/groff.man, src/preproc/eqn/eqn.man,wlemb2001-09-041-1/+2
| | | | tmac/groff_mdoc.man: Don't use .ne for TTY devices.
* * tmac/doc.tmac (Ex): New implementation.wlemb2001-08-141-0/+38
| | | | * tmac/doc-common, tmac/groff_tmac.man: Updated.
* * tmac/doc.tmac (Rv): Implement support for 0 or more than 1wlemb2001-08-141-1/+1
| | | | | argument. * tmac/groff_tmac.man: Updated.
* * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().wlemb2001-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * NEWS: Updated.wlemb2001-07-181-53/+77
| | | | | | * tmac/groff_mdoc.man: Document new -width and -column syntax. Some other minor fixes. * tmac/an-old.tmac: Add `AT' and `UC' macros.
* 2001-07-12 Ruslan Ermilov <ru@FreeBSD.org>wlemb2001-07-121-74/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * tmac/doc.tmac (Rv): Make `Rv' really not parseable.wlemb2001-07-071-2/+2
| | | | | Fix synopsis. * tmac/groff_mdoc.man: Fix synopsis.
* Fix problems with preprocessor string for `man' program.wlemb2001-06-271-0/+4
| | | | | | | * *.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.
* Added skeleton macro for defunct macros.wlemb2001-04-101-36/+26
| | | | | | | | | | | | | | | 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/doc.tmac (Cd): Simplify code.wlemb2001-04-071-2/+7
| | | | * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.