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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy