diff options
author | ru <ru@FreeBSD.org> | 2001-02-14 11:03:06 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-02-14 11:03:06 +0000 |
commit | 11972fadbaf6cb7c13097318b835a2617e157633 (patch) | |
tree | bc3732fe831ed6e320170814e009a5c3ca51a677 /contrib/groff | |
parent | 4e1541048e91f2a5503b8cab77db400013c634c6 (diff) | |
download | FreeBSD-src-11972fadbaf6cb7c13097318b835a2617e157633.zip FreeBSD-src-11972fadbaf6cb7c13097318b835a2617e157633.tar.gz |
1. Disable the recognition of the last dot character in the
default .Ar argument as an end-of-sentence character.
Example:
.Ar
foo
Produced:
file ... foo
Now produces:
file ... foo
2. Fixed an off-by-one bug in the .It macro for the -hang lists.
Example:
.Bl -hang -width 8n -compact
.It 1234
OK
.It 1234567
OK
.It 12345678
BUG
.El
Produced:
1234 OK
1234567 OK
12345678 BUG
Now produces:
1234 OK
1234567 OK
12345678 BUG
Ported from: mdocNG
Diffstat (limited to 'contrib/groff')
-rw-r--r-- | contrib/groff/tmac/tmac.doc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc index ec9a11b..e18ea3e 100644 --- a/contrib/groff/tmac/tmac.doc +++ b/contrib/groff/tmac/tmac.doc @@ -426,7 +426,7 @@ .as b1 \\*(aR .if \\n(aC==0 \{\ . ie \\n(.$==0 \{\ -. as b1 file\ ...\fP\s0 +. as b1 file\ ...\&\fP\s0 . pB . \} . el \{\ @@ -436,20 +436,20 @@ .\} .if \\n(aC>0 \{\ . ie (\\n(aC-\\n(aP)==0 \{\ -. as b1 \&file\ ...\fP\s0 +. as b1 file\ ...\&\fP\s0 . aZ . \} . el \{\ . nr aP \\n(aP+1 . ie \\n(C\\n(aP==1 \{\ -. as b1 \&file\ ...\fP\s0 +. as b1 file\ ...\&\fP\s0 . \\*(A\\n(aP . \} . el \{\ . nr cF \\n(.f . nr cZ \\n(.s . if \\n(C\\n(aP==3 \{\ -. as b1 \&file\ ... +. as b1 file\ ...\& . \} . nR . \} @@ -2026,7 +2026,7 @@ .lX .nr bb \\n(w\\n(lCu+\\n(lSu .ti -\\n(bbu -.ie \w\\*(b1u>=(\\n(w\\n(lCu) \&\\*(b1 +.ie \w\\*(b1u>(\\n(w\\n(lCu) \&\\*(b1 .el \&\\*(b1\h'|\\n(bbu'\c .nr oM \\n(oM-1 .ds b1 |