diff options
author | Lars Thorsen <[email protected]> | 2016-05-25 13:13:15 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2016-06-01 14:38:36 +0200 |
commit | 801e99b298fd292037256db945b5daaa99cdf655 (patch) | |
tree | 38adfb313da5a34c23ca7d42045171d652075116 /lib/erl_docgen/priv/xsl/db_pdf.xsl | |
parent | edec337e3c4361d87efdd48bcfe10ac382a7837c (diff) | |
download | otp-801e99b298fd292037256db945b5daaa99cdf655.tar.gz otp-801e99b298fd292037256db945b5daaa99cdf655.tar.bz2 otp-801e99b298fd292037256db945b5daaa99cdf655.zip |
[erl_docgen] Fix support for quote tag
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_pdf.xsl')
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_pdf.xsl | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_pdf.xsl b/lib/erl_docgen/priv/xsl/db_pdf.xsl index 2f7b363b67..99263847fb 100644 --- a/lib/erl_docgen/priv/xsl/db_pdf.xsl +++ b/lib/erl_docgen/priv/xsl/db_pdf.xsl @@ -1171,6 +1171,16 @@ </fo:block> </xsl:template> + <!-- Quote --> + <xsl:template match="quote"> + <xsl:param name="chapnum"/> + <fo:block font-style="italic"> + <xsl:apply-templates> + <xsl:with-param name="chapnum" select="$chapnum"/> + </xsl:apply-templates> + </fo:block> + </xsl:template> + <!-- Paragraph --> <xsl:template match="p"> <fo:block xsl:use-attribute-sets="p"> @@ -1181,7 +1191,7 @@ <!-- Inline elements --> <xsl:template match="i"> - <fo:inline font-weight="italic"> + <fo:inline font-style="italic"> <xsl:apply-templates/> </fo:inline> </xsl:template> @@ -1197,7 +1207,7 @@ </xsl:template> <xsl:template match="em"> - <fo:inline font-style="italic"> + <fo:inline font-weight="bold"> <xsl:apply-templates/> </fo:inline> </xsl:template> |