summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-04-04 06:47:46 +0000
committerwlemb <wlemb>2002-04-04 06:47:46 +0000
commitcb27182780094168b4e0ba8634d6c5a14d8d36e5 (patch)
treec82a89da1116d2d6ae05b16b2caa96342fa1aed3 /tmac/an-old.tmac
parent195deb9abb9017b91effa6c1dd7889ffc1f44ec0 (diff)
downloadgroff-cb27182780094168b4e0ba8634d6c5a14d8d36e5.tar.gz
* src/drivers/grops/psrm.cc (resource_manager::do_begin_binary):
Fix typo. * doc/homepage.ms: Reduce title size. * doc/groff.texinfo: Fix documentation of .t register. * src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR only if page length is positive to avoid a loop. * tmac/an-old.tmac (ne): Increase page length to avoid problems with tbl.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 72bf8c7f..9a6d5c7a 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -63,8 +63,16 @@
.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 \{\
. de ne
+. ie \\n[.$] \
+. nr an-ne \\$*
+. el \
+. nr an-ne 1v
+. if (\\n[an-ne] >= \\n[.t]) \
+. pl +(\\n[an-ne]u - \\n[.t]u + 1v)
. .
.\}
.