summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
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)
. .
.\}
.