Add support for <sub/>-tag.

This commit is contained in:
Tobias Markmann 2013-12-01 22:45:09 +01:00
parent 8411d9d64a
commit 2fa4d39eef
1 changed files with 5 additions and 0 deletions

View File

@ -316,6 +316,11 @@
<cmd name="textbf"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- sub -->
<xsl:template match="sub">
<math><cmd name="textsuperscript"><parm><xsl:apply-templates/></parm></cmd></math>
</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>