From f07ab9d46fd6ecdc561b3b700f40f4020b6c2bbd Mon Sep 17 00:00:00 2001 From: wlemb Date: Sat, 26 Oct 2002 12:26:12 +0000 Subject: * 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. --- tmac/an-old.tmac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmac/an-old.tmac') 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 .. -- cgit v1.2.1