]> matita.cs.unibo.it Git - helm.git/commitdiff
* added template for tml:s
authorLuca Padovani <luca.padovani@unito.it>
Wed, 18 Jun 2003 12:53:24 +0000 (12:53 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Wed, 18 Jun 2003 12:53:24 +0000 (12:53 +0000)
* if the cursor is the empty string it is not produced

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

index f2d9e0d260ccb54dd773e07b35134c3eb46dd977..553172d14463d4cf2d0a9c246d22cae3d014ac39 100644 (file)
     </xsl:choose>
   </xsl:template>
 
+  <xsl:template match="tml:s">
+    <xsl:text> </xsl:text>
+  </xsl:template>
+
   <xsl:template match="tml:sb">
     <xsl:choose>
       <xsl:when test="@under='1'">
 
   <xsl:template match="tml:cursor[@visible='1' and @val]">
     <xsl:choose>
+      <xsl:when test="string-length(@val)=0"/>
       <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>