aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--g.tmac26
1 files changed, 12 insertions, 14 deletions
diff --git a/g.tmac b/g.tmac
index 7a2f290..8418e40 100644
--- a/g.tmac
+++ b/g.tmac
@@ -32,7 +32,6 @@
. wh 0 _ht
. wh -\n(mbu _ft
. sp 1u \" trigger header
-. ns
.
. \" configure environments
. _e d \" date
@@ -164,20 +163,11 @@
.\" _ft -- footer trap
.de _ft
.
-. \" collect overflowed text
-. di _rest
-. br
-. di
-.
. \" print footer
. _E _m
. sp \n(mbu-2v-24p
. tl \*(tb
-. bp
-. ns
-.
-. \" print overflowed text on next page
-. _rest
+' bp
..
.
.\" _ht -- header trap
@@ -189,13 +179,17 @@
. rt 0
. sp \n(mtu
. _E \*[_env]
+. ns
..
.
.\" _nt -- footnote trap
.de _nt
-. _E _m
+.
+. \" override footer
+. ch _ft
.
. \" print collected footnotes
+. _E _m
___________________
. br
. _n
@@ -204,8 +198,12 @@ ___________________
. \" clear footnotes
. ch _nt
. nr _dn 0
-. box _n
-. box
+. rm _n
+.
+. \" trigger and restore footer
+. _ft
+. wh -\n(mbu _ft
+.
..
.
.\" _nr -- set default numeric value