From c8a470de42c0993f5d4621897f7b22887462fc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 01:05:39 +0200 Subject: Use Heirloom troff Mg is now tested with both GNU and Heirloom troff. --- g.tmac | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'g.tmac') diff --git a/g.tmac b/g.tmac index 69e39b2..b751607 100644 --- a/g.tmac +++ b/g.tmac @@ -34,10 +34,9 @@ . . \" set header/footer traps . wh 0 @th -. if \n(.t=\n(.p .wh -1i @tf -. -. \" trigger header -. if \n(nl=0 .@th +. if \n(nl<=0 .@th +. nr _ \n(.p-\n(nl +. if \n(.t=\n_ .wh -1i @tf . . \" configure environments . @e d \" date @@ -348,9 +347,8 @@ ___________________ . . \" switch environment and capture footnote . (e @f -. ti 9p . boxa @n -\v'-.3m'\s'\En(.s*80/100'\n(@n\s0\v'.3m'\h'2p'\c +\h'9p'\v'-.3m'\s'\En(.s*80/100'\n(@n\s0\v'.3m'\h'2p'\c .. . .\" ) -- end footnote -- cgit v1.2.3