summaryrefslogtreecommitdiff
path: root/tmac/doc-ditroff
Commit message (Collapse)AuthorAgeFilesLines
* * 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-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):wl2005-01-191-6/+0
| | | | | | | | Remove dead code. * src/roff/troff/div.cpp (top_level_diversion::space): Protect against division by zero.
* * tmac/doc-common (Nd): Use \[em].wlemb2003-05-021-7/+2
| | | | | | | | | | | * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space, doc-footer-space): Initialize to 0.5i. (doc-setup-page-layout): Don't set doc-header-space and doc-footer-space. * REVISION: Set to 1. * doc/pic.ms: Document possible problems with `figname'.
* * tmac/doc-ditroff: Remove useless switch/variable -rC.wlemb2002-10-261-11/+0
| | | | | | | | | | | | | | | (doc-setup-header): Don't set page register `%'. * tmac/doc-nroff: Remove variable `C'. (doc-setup-page-layout): Set doc-header-space to .5i unconditionally. (doc-setup-header): Don't set page register `%'. Don't call `bp'. * tmac/doc-common (doc-header): Call `ns'. (doc-paragraph): Protect .sp with .br so that it survives the implicit new-page trap. * tmac/doc.tmac (Bp, Bl, doc-set-vertical-and-indent): Ditto. * tmac/doc*:Replace ' with . for consistency in all mdoc-related files if no effect.
* * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') towlemb2002-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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-2/+10
| | | | | | | | | | | | | | | | | | 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.
* Add new escape \F to switch font family.wlemb2002-04-151-8/+8
| | | | | | | | | | | | | | | | | | * src/roff/troff/input.cc (token::next): Handle \F. * src/roff/troff/env.cc (environment::set_family): Handle `interrupted' flag. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it. * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of spaces in tags. * tmac/Xps.tmac: Remove some redundant code. * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac, tmac/dvi.tmac, contrib/groffer/groffer.man, man/roff.man, man/groff_out.man, man/groff.man, man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with \f[].
* Fix indentation in SYNOPSIS.wlemb2001-04-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Updated to include changes of latest BSD mdoc version (basically, `.Fn' and `.Fc' put a final semicolon after a function declaration in the SYNOPSIS section. * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ... (doc-in-synopsis-section): New variable. Updated all related functions. (doc-indent-synopsis-active): New register. (Nd, Fn, Fo): Use it. (Cd): It requires manipulation of n[doc-indent-synopsis] so that `.Cd' with long argument line produces indented wrapped lines. Also, the misplaced `.nop *[doc-Nm-font]c'' caused extra undesirable line break to be output. (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to `.rs'. (Fn, Fc): Add final `;' to output. (doc-save-global-vars, doc-restore-global-vars): Updated. * tmac/doc-common: Remove `Ex' register. Updated. * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated copyright.
* * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch forwlemb2001-03-241-0/+19
| | | | | | | | | | selecting the font size. * tmac/groff_mdoc.man, NEWS: Document it. * tmac/groff_mdoc.reference.man: Small updates and renamed to ... * tmac/groff_mdoc.man: This. The quick reference has been removed. * tmac/Makefile.sub, NEWS: Updated.
* Replaced mdoc implementation. The new version is `state of thewlemb2001-03-231-241/+288
| | | | | | | | | | | | | | | | | | | art', using almost all new features of groff 1.17 -- it won't run with older versions. * tmac/doc.tmac: Completely rewritten. * tmac/doc-common: Ditto. * tmac/doc-nroff: Ditto. * tmac/doc-ditroff: Ditto. * tmac/doc-syms: Ditto. * tmac/mdoc.local: New file. * tmac/groff_mdoc.samples.man: Replaced with ... * tmac/groff_mdoc.reference.man: New file, covering mdoc completely. * tmac/strip.sed: Updated. * tmac/Makefile.sub: Updated. * INSTALL: Updated. * tmac/groff_man.man: Add `man.local' to the FILES section.
* Initial revisionwlemb2000-02-061-0/+281