diff options
Diffstat (limited to '')
-rw-r--r-- | debian/mandoc.local | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/mandoc.local b/debian/mandoc.local new file mode 100644 index 0000000..0e78ca5 --- /dev/null +++ b/debian/mandoc.local @@ -0,0 +1,28 @@ +. +.if n \{\ +. \" Debian: As of groff 1.23.0, the "-", "'", "`", "^", and "~" input +. \" characters are mapped to non-Basic Latin code points in output from +. \" the "utf8" device, for consistency with other output devices such as +. \" PDF. Unfortunately in practice this still causes far too much +. \" disruption for innocent users of manual pages who just want to be able +. \" to search for characters normally, so preserve the old behaviour. +. \" Comment this out if you want to make sure that manual pages you're +. \" writing are clear of these problems. +. if '\*[.T]'utf8' \{\ +. char - \- +. char ' \[aq] +. char ` \[ga] +. char ^ \[ha] +. char ~ \[ti] +. \} +. +. \" Debian: "\-" is more commonly used for option dashes than for minus +. \" signs in manual pages, so map it to plain "-" for HTML/XHTML output +. \" rather than letting it be rendered as "−". +. ie '\*[.T]'html' \ +. char \- \N'45' +. el \{\ +. if '\*[.T]'xhtml' \ +. char \- \N'45' +. \} +.\} |