/groff/mdoc.local

http://github.com/brinkman83/bashrc · Unknown · 26 lines · 26 code · 0 blank · 0 comment · 0 complexity · ff5789529422421c5e5128f22c248e0c MD5 · raw file

  1. .\" This file is loaded after doc.tmac.
  2. .\" Put any local modifications to doc.tmac here.
  3. .
  4. .if n \{\
  5. . \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other
  6. . \" than utf8.
  7. . if !'\*[.T]'utf8' \
  8. . tr \[oq]'
  9. .
  10. . \" Debian: Disable the use of SGR (ANSI colour) escape sequences by
  11. . \" grotty.
  12. . if '\V[GROFF_SGR]'' \
  13. . output x X tty: sgr 0
  14. .
  15. . \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make
  16. . \" searching in man pages easier.
  17. . if '\*[.T]'utf8' \
  18. . char \- \N'45'
  19. .
  20. . \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such
  21. . \" as those in command-line options. This is a bug in those pages, but
  22. . \" too many fonts are missing the Unicode HYPHEN character, so we render
  23. . \" this as the ASCII-compatible HYPHEN-MINUS instead.
  24. . if '\*[.T]'utf8' \
  25. . char - \N'45'
  26. .\}