1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-30 21:22:15 -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

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