groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 39/40: [tmac]: Add more compatibility mode guards.


From: G. Branden Robinson
Subject: [groff] 39/40: [tmac]: Add more compatibility mode guards.
Date: Sat, 5 Feb 2022 12:58:08 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit f8e055dd37c1ca8e06a66119b144319abfe5e313
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Feb 6 03:54:23 2022 +1100

    [tmac]: Add more compatibility mode guards.
---
 ChangeLog          | 4 ++++
 tmac/62bit.tmac    | 6 ++++++
 tmac/psatk.tmac    | 7 +++++++
 tmac/psfig.tmac    | 7 +++++++
 tmac/ptx.tmac      | 6 ++++++
 tmac/refer-ms.tmac | 5 +++++
 tmac/refer.tmac    | 6 ++++++
 tmac/trans.tmac    | 6 ++++++
 8 files changed, 47 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index d20796ff..9fc293db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-02-06  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [tmac]: Add more compatibility mode guards.
+
 2022-02-06  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/pdf.tmac: Add compatibility mode guards so that we can
diff --git a/tmac/62bit.tmac b/tmac/62bit.tmac
index 89a7f794..f1a593e5 100644
--- a/tmac/62bit.tmac
+++ b/tmac/62bit.tmac
@@ -30,6 +30,9 @@
 .\" [-1073741824,1073741823]).
 .\"
 .
+.do nr *groff_62bit_tmac_C \n[.cp]
+.cp 0
+.
 .if d add31to62 \
 .  nx
 .
@@ -190,6 +193,9 @@
 .  nr \\$3 \\n[62bit-3]
 ..
 .
+.cp \n[*groff_62bit_tmac_C]
+.do rr *groff_62bit_tmac_C
+.
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72
diff --git a/tmac/psatk.tmac b/tmac/psatk.tmac
index 01495958..ba256e70 100644
--- a/tmac/psatk.tmac
+++ b/tmac/psatk.tmac
@@ -4,6 +4,10 @@
 .\"
 .\" Implementation of the ATK PB and PE macros for use with groff and grops.
 .\" Load this after atk.tmac.
+.
+.do nr *groff_psatk_tmac_C \n[.cp]
+.cp 0
+.
 .nr zT 0
 .if '\*(.T'ps' .nr zT 1
 .nr psatk-unit 1p
@@ -64,6 +68,9 @@ ps: mdef 5
 .if \\n(.P .ds psatk-init
 ..
 .
+.cp \n[*groff_psatk_tmac_C]
+.do rr *groff_psatk_tmac_C
+.
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72
diff --git a/tmac/psfig.tmac b/tmac/psfig.tmac
index 550f1e86..3df5fe37 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
diff --git a/tmac/ptx.tmac b/tmac/ptx.tmac
index 95f91e99..2235610e 100644
--- a/tmac/ptx.tmac
+++ b/tmac/ptx.tmac
@@ -7,6 +7,9 @@
 .\"
 .\" Public domain.
 .
+.do nr *groff_ptx_tmac_C \n[.cp]
+.cp 0
+.
 .nr ptx-ref-pos (\n[.l] - .65i)
 .nr ptx-head-pos (\n[ptx-ref-pos] / 2)
 .
@@ -37,6 +40,9 @@
 .
 .nf
 .
+.cp \n[*groff_ptx_tmac_C]
+.do rr *groff_ptx_tmac_C
+.
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72
diff --git a/tmac/refer-ms.tmac b/tmac/refer-ms.tmac
index 6bf99b6d..07203f5d 100644
--- a/tmac/refer-ms.tmac
+++ b/tmac/refer-ms.tmac
@@ -23,6 +23,8 @@
 .\"
 .\" Please send comments to groff@gnu.org.
 .
+.do nr *groff_refer-ms_tmac_C \n[.cp]
+.cp 0
 .
 .als ref*error @error
 .
@@ -82,6 +84,9 @@
 .
 .mso refer.tmac
 .
+.cp \n[*groff_refer-ms_tmac_C]
+.do rr *groff_refer-ms_tmac_C
+.
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72
diff --git a/tmac/refer.tmac b/tmac/refer.tmac
index fccd9e65..62f1c14c 100644
--- a/tmac/refer.tmac
+++ b/tmac/refer.tmac
@@ -23,6 +23,9 @@
 .\"
 .\" Please send comments to groff@gnu.org.
 .
+.do nr *groff_refer_tmac_C \n[.cp]
+.cp 0
+.
 .
 .\" The following macros must be defined:
 .\"
@@ -344,6 +347,9 @@
 ..
 .
 .
+.cp \n[*groff_refer_tmac_C]
+.do rr *groff_refer_tmac_C
+.
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72
diff --git a/tmac/trans.tmac b/tmac/trans.tmac
index a06426b3..5da114c3 100644
--- a/tmac/trans.tmac
+++ b/tmac/trans.tmac
@@ -21,6 +21,9 @@
 .\"
 .\" Please send comments to menard.fabrice@wanadoo.fr.
 .
+.do nr *groff_trans_tmac_C \n[.cp]
+.cp 0
+.
 .
 .\" This file translates some predefined strings used in the packages
 .\" distributed with groff.  The translations are actually done in
@@ -162,6 +165,9 @@
 .      TOC_HEADER_STRING "\*[\*[locale]-toc_header_string]"
 .\}
 .
+.cp \n[*groff_trans_tmac_C]
+.do rr *groff_trans_tmac_C
+.
 .\" Local Variables:
 .\" mode: nroff
 .\" coding: latin-1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]