diff options
author | wlemb <wlemb> | 2003-07-05 08:27:38 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-07-05 08:27:38 +0000 |
commit | a68cafe64305eba528186b1c6d59a77e34b9fa05 (patch) | |
tree | 028e4ac96049f2f2093b8120800a0f035f162adb /tmac/an-old.tmac | |
parent | a344b42475b6763a4af5b1f376c2ce0895c22e13 (diff) | |
download | groff-a68cafe64305eba528186b1c6d59a77e34b9fa05.tar.gz |
* tmac/doc.tmac (Bd): Change to doc-Li-font later.
* tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r-- | tmac/an-old.tmac | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac index 063ebce5..72d6e3e8 100644 --- a/tmac/an-old.tmac +++ b/tmac/an-old.tmac @@ -77,9 +77,12 @@ .if \n[an-html] .nr C 1 .if r ps4html .nr C 1 . -.\" we redefine .ne to avoid page breaks; instead, the page length is -.\" increased to the necessary amount (this is needed for tables) -.if n \{\ +.\" we redefine .ne to avoid page breaks if cR is set; instead, the page +.\" length is increased to the necessary amount (this is needed for tables) +.\" +.\" similarly, we redefine .bp if cR is set, adjusting the page length to +.\" the current position so that no empty lines are inserted +.if \n[cR] \{\ . de1 ne . ie \\n[.$] \ . nr an-ne \\$* @@ -88,6 +91,12 @@ . if (\\n[an-ne] >= \\n[.t]) \ . pl +(\\n[an-ne]u - \\n[.t]u + 1v) . . +. +. rn bp an-bp +. de1 bp +. pl \\n[nl]u +. an-bp +. . .\} . .de set-an-margin |