diff options
author | wlemb <wlemb> | 2002-05-03 17:14:51 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-05-03 17:14:51 +0000 |
commit | 9567f2f049316741759df55bd25b04ff40961dd9 (patch) | |
tree | af84966a576d3e7009a79c97d31e0f47c353e3d8 /tmac | |
parent | e854dc9f506d92de2c9af0610f896a370a1438ca (diff) | |
download | groff-9567f2f049316741759df55bd25b04ff40961dd9.tar.gz |
* doc/groff.texinfo: Don't use the string `Appendix' for appendix
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.
Diffstat (limited to 'tmac')
-rw-r--r-- | tmac/an-old.tmac | 12 | ||||
-rw-r--r-- | tmac/doc-ditroff | 12 | ||||
-rw-r--r-- | tmac/doc-nroff | 12 | ||||
-rw-r--r-- | tmac/groff_man.man | 10 | ||||
-rw-r--r-- | tmac/groff_mdoc.man | 11 |
5 files changed, 51 insertions, 6 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac index 9a6d5c7a..12726638 100644 --- a/tmac/an-old.tmac +++ b/tmac/an-old.tmac @@ -58,6 +58,15 @@ . el .nr cR 0 .\} . +.if !r LL \{\ +. ie n .nr LL 78n +. el .nr LL 6.5i +.\} +.if !r LT \{\ +. ie n .nr LT 78n +. el .nr LT 6.5i +.\} +. .nr an-html 0 .if '\*[.T]'html' .nr an-html 1 .if \n[an-html] .nr C 1 @@ -105,8 +114,6 @@ . nr PS-SH 10.95z . nr VS 12p . -. nr LT \n[.l] -. . \" use sizes similar to LaTeX . if t \{\ . ie (\\n[S] == 11) \{\ @@ -127,6 +134,7 @@ . . ps \\n[PS]u . vs \\n[VS]u +. ll \\n[LL]u . . nr IN 7.2n . PD diff --git a/tmac/doc-ditroff b/tmac/doc-ditroff index fd2707ba..8b8bd00a 100644 --- a/tmac/doc-ditroff +++ b/tmac/doc-ditroff @@ -149,8 +149,16 @@ . nr doc-header-space .5i . nr doc-footer-space .5i . -. ll 6.5i -. lt 6.5i +. ie r LL \ +. ll \n[LL]u +. el \ +. ll 6.5i +. +. ie r LT \ +. lt \n[LT]u +. el \ +. lt 6.5i +. . po 1i . . nr doc-display-vertical .5v diff --git a/tmac/doc-nroff b/tmac/doc-nroff index 47260ddd..250163c1 100644 --- a/tmac/doc-nroff +++ b/tmac/doc-nroff @@ -128,8 +128,16 @@ . nr doc-header-space .5i . nr doc-footer-space .5i . -. ll 78n -. lt 78n +. ie r LL \ +. ll \n[LL]u +. el \ +. ll 78n +. +. ie r LT \ +. lt \n[LT]u +. el \ +. lt 78n +. . po 0i . . nr doc-display-vertical 1v diff --git a/tmac/groff_man.man b/tmac/groff_man.man index 379f13b8..57e3f0f4 100644 --- a/tmac/groff_man.man +++ b/tmac/groff_man.man @@ -64,6 +64,16 @@ The macros understand the following command line options (which define various registers). .TP +.BI \-rLL= line-length +Set line length. +If this option is not given, the line length defaults to 78n in nroff mode +and 6.5i in troff mode. +.TP +.BI \-rLT= title-length +Set title length. +If this option is not given, the title length defaults to 78n in nroff mode +and 6.5i in troff mode. +.TP .B \-rcR=1 This option (the default if in nroff mode) will create a single, very long page instead of multiple pages. diff --git a/tmac/groff_mdoc.man b/tmac/groff_mdoc.man index 7fab34fe..3ffe00d8 100644 --- a/tmac/groff_mdoc.man +++ b/tmac/groff_mdoc.man @@ -3935,6 +3935,17 @@ Register is ignored for .Tn TTY devices. +.Pp +The line and title length can be changed by setting the registers +.Ql LL +and +.Ql LT , +respectively: +.Pp +.Dl groff -Tutf8 -rLL=100n -rLT=100n -mdoc foo.man | less +.Pp +If not set, both registers default to 78n for TTY devices and 6.5i +otherwise. . . .Sh FILES |