mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
Adding emph and strong support for PDF rendering.
This commit is contained in:
parent
ed95e4662c
commit
97a44587f6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user