diff options
Diffstat (limited to 'tex/context/base/x-om2cml.xsl')
-rw-r--r-- | tex/context/base/x-om2cml.xsl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tex/context/base/x-om2cml.xsl b/tex/context/base/x-om2cml.xsl index 4bc181807..570c54bb5 100644 --- a/tex/context/base/x-om2cml.xsl +++ b/tex/context/base/x-om2cml.xsl @@ -195,6 +195,13 @@ </xsl:otherwise> </xsl:choose> </xsl:when> + <xsl:when test="@name='divide'"> + <xsl:choose> + <xsl:when test="../@style='inline'"> + <xsl:attribute name='alternative'>b</xsl:attribute> + </xsl:when> + </xsl:choose> + </xsl:when> <xsl:otherwise> <!-- forget about it --> </xsl:otherwise> @@ -1294,4 +1301,16 @@ </matrix> </xsl:template> + <!-- <OMS cd="units_siprefix1" name="centi" cdbase="mathadore"/> --> + <!-- <OMS cd="units_metric1" name="metre" cdbase="mathadore"/> --> + + <xsl:template match="om:OMS[contains(@cd,'units_')]"> + <csymbol> + <xsl:attribute name="definitionURL"> + <xsl:value-of select="concat(concat(concat(concat( + 'http://www.openmath.org/cd/mathadore','#'),@cd),'@'),@name)"/> + </xsl:attribute> + </csymbol> + </xsl:template> + </xsl:stylesheet> |