Adding emph and strong support for PDF rendering.

This commit is contained in:
Tobias Markmann 2013-12-01 14:40:36 +01:00
parent ed95e4662c
commit 97a44587f6
1 changed files with 10 additions and 0 deletions

View File

@ -306,6 +306,16 @@
<cmd name="footnote"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- em -->
<xsl:template match="em">
<cmd name="emph"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- strong -->
<xsl:template match="strong">
<cmd name="textbf"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- span[@class='super'] -->
<xsl:template match="span[@class='super']">
<math><spec cat="sup"/><spec cat="bg"/><xsl:apply-templates/><spec cat="eg"/></math>