diff options
author | wlemb <wlemb> | 2002-12-09 11:19:39 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-12-09 11:19:39 +0000 |
commit | 5623efdc0521e3bdc87b76f43895f4a5be0f3298 (patch) | |
tree | 78f131588fd9d77f843ecb151fc239b95ff82f9b /tmac/an-old.tmac | |
parent | 2227a89745c207e6e0476f6a0a0cd6007b8b779a (diff) | |
download | groff-5623efdc0521e3bdc87b76f43895f4a5be0f3298.tar.gz |
* tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
mode to avoid rounding errors.
(an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
* src/roff/groff/groff.man, src/roff/nroff/nroff.man,
src/roff/troff/troff.man: Improve documentation of -T.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r-- | tmac/an-old.tmac | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac index 56d1b91b..5d199bed 100644 --- a/tmac/an-old.tmac +++ b/tmac/an-old.tmac @@ -136,7 +136,10 @@ . vs \\n[VS]u . ll \\n[LL]u . -. nr IN 7.2n +.\" We must select an integer indentation value for nroff; +.\" see comment in an-do-tag. +. ie t .nr IN 7.2n +. el .nr IN 7n . PD . nr SN 3n \" the indentation of sub-sub-headings relative to sub-headings . nr an-level 1 @@ -357,10 +360,13 @@ . in \\n[an-margin]u . ne (2v + 1u) . an-div -. br . in (\\n[an-margin]u + \\n[an-prevailing-indent]u) . \} . el \{\ +. \" In nroff mode, if the indentation value is not an integer multiple +. \" of the character cell, it is possible that the following combination +. \" of .in and .ti yields a different result as the .in request in +. \" the .ie part above. . in (\\n[an-margin]u + \\n[an-prevailing-indent]u) . ti -\\n[an-prevailing-indent]u . chop an-div @@ -377,7 +383,6 @@ . ie ((\\n[dl] + \\n[an-tag-sep]) > \\n[an-prevailing-indent]) \{\ . in \\n[an-margin]u . an-div -. br . in (\\n[an-margin]u + \\n[an-prevailing-indent]u + \\n[an-tag-sep]u) . \} . el \{\ @@ -508,7 +513,6 @@ .. . .de1 RS -. br . nr an-saved-margin\\n[an-level] \\n[an-margin] . nr an-saved-prevailing-indent\\n[an-level] \\n[an-prevailing-indent] . ie \\n[.$] .nr an-margin +(n;\\$1) @@ -519,7 +523,6 @@ .. . .de1 RE -. br . ie \\n[.$] .nr an-level ((;\\$1) <? \\n[an-level]) . el .nr an-level -1 . nr an-level (1 >? \\n[an-level]) |