File: mandoc.local

package info (click to toggle)
groff 1.23.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,108 kB
  • sloc: cpp: 74,810; ansic: 27,845; sh: 12,201; perl: 7,709; cs: 3,688; makefile: 906; awk: 91; sed: 80
file content (28 lines) | stat: -rw-r--r-- 998 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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'
.  \}
.\}