1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00

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

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>\\