summaryrefslogtreecommitdiff
path: root/src/devices/gropdf/gropdf.1.man
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/gropdf/gropdf.1.man')
-rw-r--r--src/devices/gropdf/gropdf.1.man15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man
index db2b4b1f6..39eec969a 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -31,6 +31,21 @@ output driver for Portable Document Format
.do nr *groff_gropdf_1_man_C \n[.cp]
.cp 0
.
+.\" Define fallback for groff 1.23's MR macro if the system lacks it.
+.nr do-fallback 0
+.if !\n(.f .nr do-fallback 1 \" mandoc
+.if \n(.g .if !d MR .nr do-fallback 1 \" older groff
+.if !\n(.g .nr do-fallback 1 \" non-groff *roff
+.if \n[do-fallback] \{\
+. de MR
+. ie \\n(.$=1 \
+. I \%\\$1
+. el \
+. IR \%\\$1 (\\$2)\\$3
+. .
+.\}
+.rr do-fallback
+.
.
.\" This macro definition is poor style from a portability standpoint,
.\" but it's a good test and demonstration of the standard font