diff options
Diffstat (limited to 'doc/src/sgml/stylesheet-fo.xsl')
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 6797e06a77c..2f2517d8ce6 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -101,6 +101,11 @@ <fo:block/> </xsl:template> +<!-- FOP needs us to be explicit about use of symbol font in some cases --> +<xsl:template match="phrase[@role='symbol_font']"> + <fo:inline font-family="{$symbol.font.family}"><xsl:value-of select="."/></fo:inline> +</xsl:template> + <!-- bug fix from <https://sourceforge.net/p/docbook/bugs/1360/#831b> --> <xsl:template match="varlistentry/term" mode="xref-to"> |