Re: [PATCH] Quote ' as \(aq in manpages
On Wed, Oct 21, 2009 at 10:24:42AM +0200, Thomas Rast <trast@student.ethz.ch> wrote:
Show 16 quoted lines
> The docbook/xmlto toolchain insists on quoting ' as \'. This does
> achieve the quoting goal, but modern 'man' implementations turn the
> apostrophe into a unicode "proper" apostrophe (given the right
> circumstances), breaking code examples in many of our manpages.
>
> Quote them as \(aq instead, which is an "apostrophe quote" as per the
> groff_char manpage.
>
> Signed-off-by: Thomas Rast <trast@student.ethz.ch>
> ---
>
> I've had this around since my last rant, and it actually gives good
> results with both setups I can test on, which are:
>
> - asciidoc 8.4.5, docbook-xsl 1.75.2, xmlto 0.0.18
> - asciidoc 8.2.7, docbook-xsl 1.73.2, xmlto 0.0.20
Tested-by: Miklos Vajna <vmiklos@frugalware.org>
- asciidoc 8.3.5, docbook-xsl 1.74.0, xmlto 0.0.20