Skip to content

Commit

Permalink
INSTALL: add warning on docbook-xsl 1.72 and 1.73
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
gitster committed Aug 4, 2007
1 parent 33f2433 commit 2ec39ed
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ Issues of note:
would instead give you a copy of what you see at:

http://www.kernel.org/pub/software/scm/git/docs/

It has been reported that docbook-xsl version 1.72 and 1.73 are
buggy; 1.72 misformats manual pages for callouts, and 1.73 needs
the patch in contrib/patches/docbook-xsl-manpages-charmap.patch
21 changes: 21 additions & 0 deletions contrib/patches/docbook-xsl-manpages-charmap.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From: Ismail Dönmez <[email protected]>

Trying to build the documentation with docbook-xsl 1.73 may result in
the following error. This patch fixes it.

$ xmlto -m callouts.xsl man git-add.xml
runtime error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.73.0/manpages/other.xsl line
129 element call-template
The called template 'read-character-map' was not found.

--- docbook-xsl-1.73.0/manpages/docbook.xsl.manpages-charmap 2007-07-23 16:24:23.000000000 +0100
+++ docbook-xsl-1.73.0/manpages/docbook.xsl 2007-07-23 16:25:16.000000000 +0100
@@ -37,6 +37,7 @@
<xsl:include href="lists.xsl"/>
<xsl:include href="endnotes.xsl"/>
<xsl:include href="table.xsl"/>
+ <xsl:include href="../common/charmap.xsl"/>

<!-- * we rename the following just to avoid using params with "man" -->
<!-- * prefixes in the table.xsl stylesheet (because that stylesheet -->

0 comments on commit 2ec39ed

Please sign in to comment.