summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2015-06-04 00:19:47 +0000
committerPeter Eisentraut2015-06-04 00:19:47 +0000
commitafae1f78547b8ff02cd2d07fe845a28e37a3b272 (patch)
tree0115a71b5f2c70a23e3ca8730b7ecd70ef0bdb9b
parent3b0f77601b9f9f3a2e36a813e4cd32c00e0864d6 (diff)
doc: Fix PDF build with FOP
Because of a bug in the DocBook XSL FO style sheet, an xref to a varlistentry whose term includes an indexterm fails to build. One such instance was introduced in commit 5086dfceba79ecd5d1eb28b8f4ed5221838ff3a6. Fix by adding the upstream bug fix to our customization layer.
-rw-r--r--doc/src/sgml/stylesheet-fo.xsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index ad26a5abbe..434e69d8e3 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -24,4 +24,11 @@
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
+<!-- bug fix from <https://sourceforge.net/p/docbook/bugs/1360/#831b> -->
+
+<xsl:template match="varlistentry/term" mode="xref-to">
+ <xsl:param name="verbose" select="1"/>
+ <xsl:apply-templates mode="no.anchor.mode"/>
+</xsl:template>
+
</xsl:stylesheet>