Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | |
| 2 | Upstream-Status: Inappropriate [embedded] |
| 3 | |
| 4 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
| 5 | |
| 6 | Index: groff-1.18.1.4/tmac/mdoc.local |
| 7 | =================================================================== |
| 8 | --- groff-1.18.1.4.orig/tmac/mdoc.local 2001-03-23 08:17:51.000000000 +0800 |
| 9 | +++ groff-1.18.1.4/tmac/mdoc.local 2010-08-24 14:20:22.014006846 +0800 |
| 10 | @@ -1,2 +1,26 @@ |
| 11 | .\" This file is loaded after doc.tmac. |
| 12 | .\" Put any local modifications to doc.tmac here. |
| 13 | +. |
| 14 | +.if n \{\ |
| 15 | +. \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other |
| 16 | +. \" than utf8. |
| 17 | +. if !'\*[.T]'utf8' \ |
| 18 | +. tr \[oq]' |
| 19 | +. |
| 20 | +. \" Debian: Disable the use of SGR (ANSI colour) escape sequences by |
| 21 | +. \" grotty. |
| 22 | +. if '\V[GROFF_SGR]'' \ |
| 23 | +. output x X tty: sgr 0 |
| 24 | +. |
| 25 | +. \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make |
| 26 | +. \" searching in man pages easier. |
| 27 | +. if '\*[.T]'utf8' \ |
| 28 | +. char \- \N'45' |
| 29 | +. |
| 30 | +. \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such |
| 31 | +. \" as those in command-line options. This is a bug in those pages, but |
| 32 | +. \" too many fonts are missing the Unicode HYPHEN character, so we render |
| 33 | +. \" this as the ASCII-compatible HYPHEN-MINUS instead. |
| 34 | +. if '\*[.T]'utf8' \ |
| 35 | +. char - \N'45' |
| 36 | +.\} |