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
5086dfceba.  Fix by adding the upstream
bug fix to our customization layer.
This commit is contained in:
Peter Eisentraut 2015-06-03 20:19:47 -04:00
parent 3b0f77601b
commit afae1f7854
1 changed files with 7 additions and 0 deletions

View File

@ -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>