summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-10-26 12:26:12 +0000
committerwlemb <wlemb>2002-10-26 12:26:12 +0000
commitf07ab9d46fd6ecdc561b3b700f40f4020b6c2bbd (patch)
treeaa57f909175e96b5b6fc17550e59efde57dbb131 /tmac/an-old.tmac
parent1ce342d083dd738e46cc7ead8923c57dcabfc76b (diff)
downloadgroff-f07ab9d46fd6ecdc561b3b700f40f4020b6c2bbd.tar.gz
* tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
so that it survives the implicit new-page trap. * src/roff/troff/node.cc: Fix the changes from 2002-10-23. (troff_output_file::set_font): Call flush_tbuf if necessary. (troff_output_file::fill_color, troff_output_file::glyph_color): Call flush_tbuf and do_motion only if necessary. (troff_output_file::start_special, troff_output_file::put_char_width, troff_output_file::put_char, troff_output_file::draw): Updated. (word_space_node::tprint, space_node::tprint, hmotion_node::tprint, vmotion_node::tprint): Undo change 2002-10-23.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 3cee9074..3958c36d 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -264,6 +264,7 @@
.if \n[cR] .em an-end
.
.de1 SH
+. br
. sp \\n[PD]u
. nr an-level 1
. set-an-margin
@@ -282,6 +283,7 @@
..
.
.de1 SS
+. br
. sp \\n[PD]u
. nr an-level 1
. set-an-margin
@@ -324,6 +326,7 @@
..
.
.de1 TP
+. br
. sp \\n[PD]u
. if \\n[.$] .nr an-prevailing-indent (n;\\$1)
. it 1 an-trap
@@ -408,6 +411,7 @@
. 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)
@@ -423,6 +427,7 @@
. 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)
@@ -532,6 +537,7 @@
.\" table support
.
.de1 TS
+. br
. sp \\n[PD]u
. HTML-IMAGE
..