diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2015-06-03 20:19:47 -0400 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2015-06-03 20:19:47 -0400 |
| commit | afae1f78547b8ff02cd2d07fe845a28e37a3b272 (patch) | |
| tree | 0115a71b5f2c70a23e3ca8730b7ecd70ef0bdb9b /doc/src | |
| parent | 3b0f77601b9f9f3a2e36a813e4cd32c00e0864d6 (diff) | |
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
5086dfceba79ecd5d1eb28b8f4ed5221838ff3a6. Fix by adding the upstream
bug fix to our customization layer.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index ad26a5abbe8..434e69d8e37 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/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> |
