#! /bin/sh /usr/share/dpatch/dpatch-run ## portable_apostrophe_fix.dpatch by Daniel Leidert (dale) ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: This patch tries to fix the issue mentioned in #507673. A straight apostrophe ## DP: cannot be received with \'. The only way with GROFF is \(aq. But that's not ## DP: portable to AT&T troff as used by e.g. Sun Solaris. The patch tries to use ## DP: a workaround also used in Pod::Man (perl). Thanks to Anders Kaseorg. ## DP: ## DP: This patch has not yet been added to the docbook-xsl upstream code-base and ## DP: is tested in Debian only. ## DP: ## DP: ## DP: ## DP: @DPATCH@ diff -urNad trunk~/manpages/docbook.xsl trunk/manpages/docbook.xsl --- trunk~/manpages/docbook.xsl 2009-07-21 03:12:49.000000000 +0200 +++ trunk/manpages/docbook.xsl 2009-11-04 00:58:14.000000000 +0100 @@ -233,6 +233,7 @@ + diff -urNad trunk~/manpages/other.xsl trunk/manpages/other.xsl --- trunk~/manpages/other.xsl 2009-02-19 19:26:36.000000000 +0100 +++ trunk/manpages/other.xsl 2009-11-04 00:58:14.000000000 +0100 @@ -223,7 +223,7 @@ ' - \' + \*(Aq @@ -658,6 +658,24 @@ + + + .\" ----------------------------------------------------------------- + .\" * Define some portability stuff + .\" ----------------------------------------------------------------- + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" http://bugs.debian.org/507673 + .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + .ie \n(.g .ds Aq \(aq + + .el .ds Aq ' + + + + + .\" ----------------------------------------------------------------- .\" * (re)Define some macros