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.
pull/14/head
Peter Eisentraut 11 years ago
parent 3b0f77601b
commit afae1f7854
  1. 7
      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>

Loading…
Cancel
Save