From: Mike Hommey Date: Sun, 19 Aug 2007 21:03:17 GMT Subject: [PATCH] Properly force listingblocks to be monospaced in manpages Message-ID: <20070819210317.GA3202@glandium.org> Still insert a ".ft C" before and ".ft" after, but do it in a way as to avoid them to get escaped with "\&", which makes the manpages look pretty bad. Do it in a more docbook-xsl'ish way. Reverts 281a53bb79786a6d7e54f9715cc8ad46fc2bdb0e. Signed-off-by: Mike Hommey --- Documentation/asciidoc.conf | 6 ------ Documentation/callouts.xsl | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index af5b155..6b6220d 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -27,13 +27,7 @@ ifdef::backend-docbook[] [listingblock] {title} -ifdef::doctype-manpage[] - .ft C -endif::doctype-manpage[] | -ifdef::doctype-manpage[] - .ft -endif::doctype-manpage[] {title#} endif::backend-docbook[] diff --git a/Documentation/callouts.xsl b/Documentation/callouts.xsl index 6a361a2..e188f5e 100644 --- a/Documentation/callouts.xsl +++ b/Documentation/callouts.xsl @@ -27,4 +27,11 @@ + + + ⌂ft C + + ⌂ft + + -- 1.5.3.rc4