diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-09-21 17:02:15 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-09-21 17:02:15 +0000 |
commit | 7a0a11ad32d3008cac203eeb83c1e974e57028a5 (patch) | |
tree | ea0e7d50c03ac2342b911a225bc665d5e186bdf6 /contrib/groff/tmac/tmac.doc | |
parent | d33f5e590ec6c161338bd53c575be71d1253f095 (diff) | |
download | src-7a0a11ad32d3008cac203eeb83c1e974e57028a5.tar.gz src-7a0a11ad32d3008cac203eeb83c1e974e57028a5.zip |
Fixed the `mysterious blank lines' problem. This was due to unconditional
use of the .ne requests. groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines. Solution is to only use them in troff mode.
Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.
Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.
Removed blank line that appeared as the first line on each nroff-formatted
manual page.
Obtained from: NetBSD
Notes
Notes:
svn path=/head/; revision=66171
Diffstat (limited to 'contrib/groff/tmac/tmac.doc')
-rw-r--r-- | contrib/groff/tmac/tmac.doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc index 1cd6904957c4..516584c3fd28 100644 --- a/contrib/groff/tmac/tmac.doc +++ b/contrib/groff/tmac/tmac.doc @@ -1957,7 +1957,7 @@ . tm .It \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 .\} .\" .tm Here is L[\\n(lC]==\\*(L\\n(lC -.ne 3v +.if !\\n(cR .ne 3v .ie \\n(.$>0 \{\ . ds mN It . ds b1 |