2004-06-11 20:23:33 UTC
What about the support for the default operators that supports TeX (\cos, \sin, etc.) ?
It is easy to add it ; here is a proposition (not the best !) to be inserted at the line 19 of tokens.xslt, just after <xsl:when> :
<xsl:variable name="op">
<xsl:value-of select="concat(' ',normalize-space(.),' ')"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="contains(' arccos cos csc exp ker limsup min sinh arcsin cosh deg gcd lg ln Pr sup arctan cot det hom lim log sec tan arg coth dim inf liminf max sin tanh ',$op)">
<xsl:text>\</xsl:text>
<xsl:value-of select="normalize-space(.))"/>
<xsl:text> </xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>\mathrm{</xsl:text>
...
Regards,
Stephan