aboutsummaryrefslogtreecommitdiff
path: root/g.tmac
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-20 10:36:53 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-20 10:36:53 +0200
commitd581ad33700c57396092839a3b0bcf8bd720d58b (patch)
tree2aebf5fdb64c69539b237385b905fd1318f7977e /g.tmac
parent35567d1ef4f1d0721f298865132174858b15ae75 (diff)
downloadmk-d581ad33700c57396092839a3b0bcf8bd720d58b.tar.gz
Fix overflowed word after footnote section
Diffstat (limited to 'g.tmac')
-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