diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-24 01:05:39 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-24 01:06:34 +0200 |
commit | c8a470de42c0993f5d4621897f7b22887462fc32 (patch) | |
tree | 96b70a2bf23940bca9df658eee5fa6095c23dc61 /t | |
parent | c84c25dd28a406c5f8a8e40963536b088de3e1e8 (diff) | |
download | mk-c8a470de42c0993f5d4621897f7b22887462fc32.tar.gz |
Use Heirloom troff
Mg is now tested with both GNU and Heirloom troff.
Diffstat (limited to 't')
-rw-r--r-- | t/Makefile | 4 | ||||
-rw-r--r-- | t/ne.t | 3 | ||||
-rw-r--r-- | t/t.tmac | 8 |
3 files changed, 7 insertions, 8 deletions
@@ -9,7 +9,7 @@ g.tmac: ../g.tmac .t.T: g.tmac t.tmac @echo -- $< ----------------------- - @groff -z $< + @troff -x3 $< >/dev/null .t.pdf: g.tmac t.tmac - groff -Tps $< | ps2pdf - > $@ + troff -x3 $< | dpost | ps2pdf - > $@ @@ -15,8 +15,7 @@ macro. .\" make space at bottom of page .de @ . rs -. rt 0 -. sp \n(.pu-\n(mbu-\\$1-1u +. sp |\n(.pu-\n(mbu-\\$1-1u . nr a \\n% .. . @@ -8,16 +8,16 @@ .de assert .ec ` .ie `$1 \{\ -. tm1 " success +. tm success .\} .ec .el \{\ -. if \\nF<\\nt .tm1 " failure: +. if \\nF<\\nt .tm failure: .ec ` . ds *exp `$1 .ec -. tm1 "{ \\*[*exp] -. if !'\\*[*exp]'\\$1' . tm1 "} \\$1 +. tm { \\*[*exp] +. if !'\\*[*exp]'\\$1' . tm } \\$1 . nr f +1 . nr F \\nt .\} |