summaryrefslogtreecommitdiff
path: root/tmac/doc-common
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-10-30 17:20:28 +0000
committerwlemb <wlemb>2002-10-30 17:20:28 +0000
commit61fd50e578d27516fdcf76b5b4ee61c1b95d2ae7 (patch)
tree722506ed317c391ea941346674c3b127d86775eb /tmac/doc-common
parentf7ce41b2b44ee10437eca77049789eb4e865108a (diff)
downloadgroff-61fd50e578d27516fdcf76b5b4ee61c1b95d2ae7.tar.gz
Fix computation of .trunc register. Additionally, its value (and
the value of the .ne register) is now always set before entering the trap. * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and `needed_space' before calling `space'. (top_level_diversion::space): Remove special code for 'sp before the first page. Call `begin_page' with the discarded space as a parameter. (top_level_diversion::begin_page): Add optional parameter to set `truncated_space'. * src/roff/troff/div.h: Updated. * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and \n[.ne]. * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26. (LP): Remove superfluous call to `br'. * tmac/doc-common (doc-paragraph): Undo change 2002-10-26. * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
Diffstat (limited to 'tmac/doc-common')
-rw-r--r--tmac/doc-common1
1 files changed, 0 insertions, 1 deletions
diff --git a/tmac/doc-common b/tmac/doc-common
index 8eafa0e1..0cc0ea17 100644
--- a/tmac/doc-common
+++ b/tmac/doc-common
@@ -615,7 +615,6 @@
.\" NS insert a paragraph
.
.de doc-paragraph
-. br
. sp \n[doc-paragraph-space]u
. if !\n[cR] \
. ne 2