summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
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/an-old.tmac
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/an-old.tmac')
-rw-r--r--tmac/an-old.tmac7
1 files changed, 0 insertions, 7 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 3958c36d..56d1b91b 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -264,7 +264,6 @@
.if \n[cR] .em an-end
.
.de1 SH
-. br
. sp \\n[PD]u
. nr an-level 1
. set-an-margin
@@ -283,7 +282,6 @@
..
.
.de1 SS
-. br
. sp \\n[PD]u
. nr an-level 1
. set-an-margin
@@ -326,7 +324,6 @@
..
.
.de1 TP
-. br
. sp \\n[PD]u
. if \\n[.$] .nr an-prevailing-indent (n;\\$1)
. it 1 an-trap
@@ -394,7 +391,6 @@
..
.
.de1 LP
-. br
. sp \\n[PD]u
. ps \\n[PS]u
. vs \\n[VS]u
@@ -411,7 +407,6 @@
. ps \\n[PS]u
. vs \\n[VS]u
. ft R
-. br
. sp \\n[PD]u
. ne (1v + 1u)
. in (\\n[an-margin]u + \\n[an-prevailing-indent]u)
@@ -427,7 +422,6 @@
. ps \\n[PS]u
. vs \\n[VS]u
. ft R
-. br
. sp \\n[PD]u
. ne (1v + 1u)
. if \\n[.$] .nr an-prevailing-indent (n;\\$1)
@@ -537,7 +531,6 @@
.\" table support
.
.de1 TS
-. br
. sp \\n[PD]u
. HTML-IMAGE
..