jobcore/groff/site.tmac
2024-06-01 14:26:55 +03:00

36 lines
1.1 KiB
Text

.
.if n \{\
. \" Strictly, "-" is a hyphen while "\-" is a minus sign, and the
. \" former may not always be rendered in the form expected for things like
. \" command-line options. Uncomment this if you want to make sure that
. \" manual pages you're writing are clear of this problem.
. \" if '\*[.T]'utf8' \
. \" char - \[hy]
.
. \" Character translations for non-keyboard
. \" characters - to make them searchable
. if '\*[.T]'utf8' \{\
. char \- \N'45'
. char - \N'45'
. char ' \N'39'
. \}
.
. \" groff 1.23.0 changed the "utf8" device to render "^" and "~"
. \" as U+02C6 and U+02DC respectively. This is likely to cause
. \" considerable disruption in manual pages, so preserve the old
. \" behaviour, at least for now.
. if '\*[.T]'utf8' \{\
. char ^ \[ha]
. char ~ \[ti]
. \}
.
. \" "\-" 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'
. \}
.\}