mirror of
https://github.com/moparisthebest/xeps
synced 2024-10-31 15:35:07 -04:00
Add support for <sub/>-tag.
This commit is contained in:
parent
8411d9d64a
commit
2fa4d39eef
@ -316,6 +316,11 @@
|
|||||||
<cmd name="textbf"><parm><xsl:apply-templates/></parm></cmd>
|
<cmd name="textbf"><parm><xsl:apply-templates/></parm></cmd>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- sub -->
|
||||||
|
<xsl:template match="sub">
|
||||||
|
<math><cmd name="textsuperscript"><parm><xsl:apply-templates/></parm></cmd></math>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<!-- span[@class='super'] -->
|
<!-- span[@class='super'] -->
|
||||||
<xsl:template match="span[@class='super']">
|
<xsl:template match="span[@class='super']">
|
||||||
<math><spec cat="sup"/><spec cat="bg"/><xsl:apply-templates/><spec cat="eg"/></math>
|
<math><spec cat="sup"/><spec cat="bg"/><xsl:apply-templates/><spec cat="eg"/></math>
|
||||||
|
Loading…
Reference in New Issue
Block a user