1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

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

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>