]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/html_init.xsl
added notations for abstact polinomials
[helm.git] / helm / style / html_init.xsl
index f52525ebf3eb80f20a52e190a542c97ecd35dcff..f8930ed05cc1938169e9ef74d03a51a56c60c67a 100644 (file)
   </xsl:variable>
   <xsl:text>(</xsl:text>
   <xsl:apply-templates mode="inline" select="*[2]"/>
-  <a>
-   <xsl:attribute name="href">
-    <xsl:value-of select="concat(string($header),string($uri))"/>
-   </xsl:attribute>
-   <FONT FACE="symbol" mathcolor="blue">
+  <a href="{$uri}">
+   <FONT FACE="symbol" SIZE="+2" mathcolor="blue">
     <xsl:value-of select="$symbol"/>
    </FONT>
   </a>
   </xsl:variable>
   <xsl:choose>
    <xsl:when test="count(child::*)=2">
-    <a>
-    <xsl:attribute name="href">
-     <xsl:value-of select="concat(string($header),string($uri))"/>
-    </xsl:attribute>
-    <xsl:text>-</xsl:text>
+    <a href="{$uri}">
+    <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#45;</FONT>
     </a>
     <xsl:apply-templates mode="inline" select="*[2]"/>
    </xsl:when>
    <xsl:otherwise>
     <xsl:text>(</xsl:text>
     <xsl:apply-templates mode="inline" select="*[2]"/>
-    <a>
-     <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
-     </xsl:attribute>
-     <xsl:text>-</xsl:text>
+    <a href="{$uri}">
+     <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#45;</FONT>
     </a>
     <xsl:apply-templates mode="inline" select="*[3]"/>
     <xsl:text>)</xsl:text>
   <xsl:variable name="uri">
    <xsl:value-of select="m:not/@definitionURL"/>
   </xsl:variable>
-     <a>
-     <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
-     </xsl:attribute>
-     <FONT FACE="symbol" mathcolor="blue">&#216;</FONT>
+     <a href="{$uri}">
+     <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#216;</FONT>
      </a>
      <xsl:apply-templates mode="inline" select="*[2]"/>
  </xsl:template>
   <xsl:variable name="uri">
    <xsl:value-of select="m:exists/@definitionURL"/>
   </xsl:variable>
-  <a>
-   <xsl:attribute name="href">
-    <xsl:value-of select="concat(string($header),string($uri))"/>
-   </xsl:attribute>
-   <FONT FACE="symbol" mathcolor="blue">&#36;</FONT>
+  <a href="{$uri}">
+   <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#36;</FONT>
   </a>
   <xsl:apply-templates select="m:bvar/m:ci"/>
   <xsl:text>:</xsl:text>
      <xsl:call-template name="make_indent">
       <xsl:with-param name="current_indent" select="$current_indent + 2"/> 
      </xsl:call-template>
-     <a>
-     <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
-     </xsl:attribute>
-     <FONT FACE="symbol" mathcolor="blue">
+     <a href="{$uri}">
+     <FONT FACE="symbol" SIZE="+2" mathcolor="blue">
       <xsl:value-of select="$symbol"/>
      </FONT>
      </a>
   </xsl:variable>
   <xsl:choose>
    <xsl:when test="count(child::*)=2">
-    <a>
-    <xsl:attribute name="href">
-     <xsl:value-of select="concat(string($header),string($uri))"/>
-    </xsl:attribute>
-    <xsl:text>-</xsl:text>
+    <a href="{$uri}">
+    <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#45;</FONT>
     </a>
     <xsl:apply-templates select="*[2]">
      <xsl:with-param name="current_indent" select="$current_indent + 1"/>
       <xsl:call-template name="make_indent">
        <xsl:with-param name="current_indent" select="$current_indent + 2"/> 
       </xsl:call-template>
-      <a>
-      <xsl:attribute name="href">
-       <xsl:value-of select="concat(string($header),string($uri))"/>
-      </xsl:attribute>
-      <xsl:text>-</xsl:text>
+      <a href="{$uri}">
+      <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#45;</FONT>
       </a>
       <xsl:apply-templates select="*[3]">
        <xsl:with-param name="current_indent" select="$current_indent + 2"/>
   <xsl:variable name="uri">
    <xsl:value-of select="m:not/@definitionURL"/>
   </xsl:variable>
-     <a>
-     <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
-     </xsl:attribute>
-     <FONT FACE="symbol" mathcolor="blue">&#216;</FONT>
+     <a href="{$uri}">
+     <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#216;</FONT>
      </a>
      <xsl:apply-templates select="*[2]"/>
  </xsl:template>
   </xsl:variable>
   <xsl:choose>
     <xsl:when test="$charlength > $framewidth">
-     <a>
-     <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
-     </xsl:attribute>
-     <FONT FACE="symbol" mathcolor="blue">&#36;</FONT>
+     <a href="{$uri}">
+      <FONT FACE="symbol" SIZE="+2" mathcolor="blue">&#36;</FONT>
      </a>
      <xsl:apply-templates select="m:bvar/m:ci"/>
      <xsl:text>:</xsl:text>