summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-05-08 07:44:53 +0000
committerwlemb <wlemb>2001-05-08 07:44:53 +0000
commit73b696c337bcaaf324fba6d02ff4081adeab0a10 (patch)
tree79fcf42413b545a1ba90a1f68f8dfa1549773a7b /tmac/an-old.tmac
parentb655be22360e0275e96d7307fc2b06c66ebbc6ee (diff)
downloadgroff-73b696c337bcaaf324fba6d02ff4081adeab0a10.tar.gz
fix compatibility issues with man and mdoc
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac15
1 files changed, 10 insertions, 5 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 75c1ff16..49264d76 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -38,6 +38,9 @@
.nr _C \n(.C
.cp 0
.
+.if (\n[.x]\n[.y]\n[.Y] < 1171) \
+. ab You need GNU troff version 1.17.1 or higher to run this version of man!
+.
.if !r D .nr D 0
.if !r C .nr C 0
.if !r S .nr S 10
@@ -459,13 +462,15 @@
. in \\n[an-margin]u
..
.
-.ds S \s[\\n[PS]]
-.ie c\[rg] .ds R \[rg]
+.\" these strings must work in compatibility mode also
+.
+.ds S \s(\\n(PS
+.ie c\[rg] .ds R \(rg
.el .ds R (Reg.)
-.ie c\[tm] .ds Tm \[tm]
+.ie c\[tm] .ds Tm \(tm
.el .ds Tm (TM)
-.ds lq \[lq]
-.ds rq \[rq]
+.ds lq \(lq
+.ds rq \(rq
.
.if !\n[an-html] .hy 14
.