Blame xsl/mathml2/mmltex.xsl
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
|
Packit Service |
76cb02 |
version='1.0'>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:output method="text" indent="no" encoding="UTF-8"/>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
This file is part of the XSLT MathML Library distribution.
|
|
Packit Service |
76cb02 |
See ./README or http://www.raleigh.ru/MathML/mmltex for
|
|
Packit Service |
76cb02 |
copyright and other information -->
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:include href="tokens.xsl"/>
|
|
Packit Service |
76cb02 |
<xsl:include href="glayout.xsl"/>
|
|
Packit Service |
76cb02 |
<xsl:include href="scripts.xsl"/>
|
|
Packit Service |
76cb02 |
<xsl:include href="tables.xsl"/>
|
|
Packit Service |
76cb02 |
<xsl:include href="entities.xsl"/>
|
|
Packit Service |
76cb02 |
<xsl:include href="cmarkup.xsl"/>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:strip-space elements="m:*"/>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:template match="m:math[not(@mode) or @mode='inline'][not(@display)] | m:math[@display='inline']">
|
|
Packit Service |
76cb02 |
<xsl:text>$ </xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates/>
|
|
Packit Service |
76cb02 |
<xsl:text>$</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:template match="m:math[@display='block'] | m:math[@mode='display'][not(@display)]">
|
|
Packit Service |
76cb02 |
<xsl:text>
\[
</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates/>
|
|
Packit Service |
76cb02 |
<xsl:text>
\]</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
</xsl:stylesheet>
|