summaryrefslogtreecommitdiff
path: root/tmac/psfig.tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-02-06 03:54:23 +1100
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-02-06 04:39:34 +1100
commitf8e055dd37c1ca8e06a66119b144319abfe5e313 (patch)
tree30af1328f1c10b0049b30a853257c9d374b28c2f /tmac/psfig.tmac
parent236962f5f86f60640253c0229c2116d538693a3b (diff)
downloadgroff-git-f8e055dd37c1ca8e06a66119b144319abfe5e313.tar.gz
[tmac]: Add more compatibility mode guards.
Diffstat (limited to 'tmac/psfig.tmac')
-rw-r--r--tmac/psfig.tmac7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmac/psfig.tmac b/tmac/psfig.tmac
index 550f1e866..3df5fe37f 100644
--- a/tmac/psfig.tmac
+++ b/tmac/psfig.tmac
@@ -4,6 +4,10 @@
.\"
.\" These are macros to make psfig work with groff.
.\" They require that psfig be patched as described in ../grops/psfig.diff.
+.
+.do nr *groff_psfig_tmac_C \n[.cp]
+.cp 0
+.
.de psfig-defs
ps: mdef 100
@@ -90,6 +94,9 @@ ps: mdef 100
.if \\n[psfig-fill] .fi
..
.
+.cp \n[*groff_psfig_tmac_C]
+.do rr *groff_psfig_tmac_C
+.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72