]> granicus.if.org Git - postgresql/commitdiff
doc: Fix PDF build with FOP
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 4 Jun 2015 00:19:47 +0000 (20:19 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 4 Jun 2015 00:19:47 +0000 (20:19 -0400)
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.

doc/src/sgml/stylesheet-fo.xsl

index ad26a5abbe8d82fb6159daf913a0c10fadfec79c..434e69d8e37e3ae0258e673c0d5e9f765d421a03 100644 (file)
   <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>