]> matita.cs.unibo.it Git - helm.git/commitdiff
* the non-empty cursor is now generated
authorLuca Padovani <luca.padovani@unito.it>
Wed, 4 Jun 2003 13:00:55 +0000 (13:00 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Wed, 4 Jun 2003 13:00:55 +0000 (13:00 +0000)
helm/DEVEL/mathml_editor/xsl/tml-tex.xsl

index a1d8b1f8edafcc40ef4580c27b6e20dc96505c97..f2d9e0d260ccb54dd773e07b35134c3eb46dd977 100644 (file)
@@ -64,7 +64,7 @@
         <xsl:if test="parent::tml:g and following-sibling::tml:i"><xsl:value-of select="' '"/></xsl:if>
       </xsl:when>
       <xsl:when test="string-length(@val)=1"><xsl:value-of select="@val"/></xsl:when>
-      <xsl:otherwise>{\it <xsl:value-of select="@val"/>}</xsl:otherwise>
+      <xsl:otherwise>{\rm <xsl:value-of select="@val"/>}</xsl:otherwise>
     </xsl:choose>
   </xsl:template>
 
     <xsl:apply-templates select="*"/>
   </xsl:template>
 
+<!--/// CURSOR ///-->
+
+  <xsl:template match="tml:cursor[@visible='1' and @val]">
+    <xsl:choose>
+      <xsl:when test="string-length(@val)=1"><xsl:value-of select="@val"/></xsl:when>
+      <xsl:otherwise>{\rm <xsl:value-of select="@val"/>}</xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
 </xsl:stylesheet>