]> matita.cs.unibo.it Git - helm.git/commitdiff
* the minus sign is now mapped to the right Unicode character ant not
authorLuca Padovani <luca.padovani@unito.it>
Fri, 21 Feb 2003 13:18:42 +0000 (13:18 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Fri, 21 Feb 2003 13:18:42 +0000 (13:18 +0000)
  to the dash -

helm/DEVEL/mathml_editor/xsl/tml-mmlp.xsl

index f9a7e69070f68fab62d9e17dcf0d1b796a476f3e..8c9b8ead19ca45b35f138f5de16d0b900add3cc2 100644 (file)
     </m:mo>
   </xsl:template>
 
+  <xsl:template match="tml:o[@val='-']">
+    <m:mo>
+      <xsl:if test="@id">
+        <xsl:attribute name="xref">
+          <xsl:value-of select="@id"/>
+        </xsl:attribute>
+      </xsl:if>
+      &#x2212;
+    </m:mo>
+  </xsl:template>
+
   <xsl:template name="cursor">
     <xsl:choose>
       <xsl:when test="substring(@val,1,1)='\'">