Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit afae1f7

Browse files
committed
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 5086dfc. Fix by adding the upstream bug fix to our customization layer.
1 parent 3b0f776 commit afae1f7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/src/sgml/stylesheet-fo.xsl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,11 @@
2424
<xsl:call-template name="inline.monoseq"/>
2525
</xsl:template>
2626

27+
<!-- bug fix from <https://sourceforge.net/p/docbook/bugs/1360/#831b> -->
28+
29+
<xsl:template match="varlistentry/term" mode="xref-to">
30+
<xsl:param name="verbose" select="1"/>
31+
<xsl:apply-templates mode="no.anchor.mode"/>
32+
</xsl:template>
33+
2734
</xsl:stylesheet>

0 commit comments

Comments
 (0)