aboutsummaryrefslogtreecommitdiff
path: root/Documentation/asciidoc.conf
diff options
context:
space:
mode:
authorJonas Fonseca <fonseca@diku.dk>2007-11-14 10:38:46 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-14 02:01:54 -0800
commit7f55cf451c9e7c35cad2efcd0bb7bbd7c7ae29ac (patch)
tree89229b2ff3a7ad9a444278f09dd5fc17a4be8511 /Documentation/asciidoc.conf
parentcb5c49b9afb5551659c6819aefaa8e4de26a4366 (diff)
downloadgit-7f55cf451c9e7c35cad2efcd0bb7bbd7c7ae29ac.tar.gz
git-7f55cf451c9e7c35cad2efcd0bb7bbd7c7ae29ac.tar.xz
Documentation: Fix man page breakage with DocBook XSL v1.72
From version 1.72 it will replace all dots in roff requests with U+2302 ("house" character), and add escaping in output for all instances of dot that are not in roff requests. This caused the ".ft" hack forcing monospace font in listingblocks to end up as "\&.ft" and being visible in the resulting man page. The fix adds a DOCBOOK_XSL_172 build variable that will disable the hack. To allow this variable to be defined in config.mak it also moves build variable handling below the inclusion of config.mak. Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/asciidoc.conf')
-rw-r--r--Documentation/asciidoc.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index af5b1558a..99d8874aa 100644
--- a/Documentation/asciidoc.conf
+++ b/Documentation/asciidoc.conf
@@ -23,7 +23,9 @@ ifdef::backend-docbook[]
endif::backend-docbook[]
ifdef::backend-docbook[]
+ifndef::docbook-xsl-172[]
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
+# v1.72 breaks with this because it replaces dots not in roff requests.
[listingblock]
<example><title>{title}</title>
<literallayout>
@@ -36,6 +38,7 @@ ifdef::doctype-manpage[]
endif::doctype-manpage[]
</literallayout>
{title#}</example>
+endif::docbook-xsl-172[]
endif::backend-docbook[]
ifdef::doctype-manpage[]