Documentation: option to render literal text as bold for manpages
commit5121a6d99368906292dfdf7fe0047fb89c4c1969
authorChris Johnsen <chris_johnsen@pobox.com>
Fri, 27 Mar 2009 06:44:05 +0000 (27 01:44 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Mar 2009 07:33:20 +0000 (27 00:33 -0700)
tree5ff3c66774ec91929bb6c378a5c934ea5046158e
parent0c04f5273579da4b8308c125b1eb4b8f888bffab
Documentation: option to render literal text as bold for manpages

This allows manpages viewed on a tty to render inline literal
text in a manner that is distinct from the surrounding text.

The initial implementation (pre-mailing-list) of this patch
included a conditional variant of the XSLT code in
manpage-base.xsl and use xmlto's --stringparam option to
optionally enable the functionality. It turns out that
--stringparam is broken in all versions of xmlto except for the
pre-release, SVN version. Since xmlto is a shell script the patch
to fix it is simple enough, but I instead opted to use xmlto's
"module" functionality.

Testing done with asciidoc 8.3.1 and docbook-xsl 1.74.0.

Signed-off-by: Chris Johnsen <chris_johnsen@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile
Documentation/manpage-bold-literal.xsl [new file with mode: 0644]