summaryrefslogtreecommitdiffstats
path: root/source/ap/groff/groff.man.mdoc.local
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/groff/groff.man.mdoc.local')
-rw-r--r--source/ap/groff/groff.man.mdoc.local24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/ap/groff/groff.man.mdoc.local b/source/ap/groff/groff.man.mdoc.local
new file mode 100644
index 000000000..4de5a0f1a
--- /dev/null
+++ b/source/ap/groff/groff.man.mdoc.local
@@ -0,0 +1,24 @@
+.
+.if n \{\
+. \" Map \(oq to ' rather than ` in nroff mode for devices other
+. \" than utf8.
+. if !'\*[.T]'utf8' \
+. tr \[oq]'
+.
+. \" Disable the use of SGR (ANSI colour) escape sequences by
+. \" grotty.
+. if '\V[GROFF_SGR]'' \
+. output x X tty: sgr 0
+.
+. \" Map \- to the Unicode HYPHEN-MINUS character, to make
+. \" searching in man pages easier.
+. if '\*[.T]'utf8' \
+. char \- \N'45'
+.
+. \" Many UTF-8 man pages use "-" instead of "\-" for dashes such as those
+. \" in command-line options. This is a bug in those pages, but if you want
+. \" all hyphens to be rendered as the ASCII-compatible HYPHEN-MINUS
+. \" anyway, then uncomment this.
+. \" if '\*[.T]'utf8' \
+. \" char - \N'45'
+.\}