XEP2PDF: Correctly transfrom span.super elements.

This commit is contained in:
Tobias Markmann 2010-09-20 20:04:59 +02:00
parent 7fe47260e8
commit a1a63a9544
1 changed files with 7 additions and 1 deletions

View File

@ -286,7 +286,13 @@
<xsl:template match="note">
<cmd name="footnote"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- span[@class='super] -->
<xsl:template match="span[@class='super]">
<math>^{<xsl:apply-templates/>}</math>
</xsl:template>
<!-- p -->
<xsl:template match="p">
<xsl:apply-templates/><TeXML escape="0" emptylines="1"><xsl:text>\\