]> granicus.if.org Git - docbook-dsssl/commitdiff
Added two more potential bullet symbols, also commented out by default.
authorBob Stayton <bobs@sagehill.net>
Sat, 11 Dec 2004 09:22:57 +0000 (09:22 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 11 Dec 2004 09:22:57 +0000 (09:22 +0000)
xsl/fo/lists.xsl

index 59fe27bcaf289c9ff69c76f32beb160a5605b785..6b17c49114325c8c13f93bfc369e278941d5a541 100644 (file)
     <!--
     <xsl:when test="$itemsymbol='square'">&#x25A0;</xsl:when>
     <xsl:when test="$itemsymbol='box'">&#x25A0;</xsl:when>
+    <xsl:when test="$itemsymbol='smallblacksquare'">&#x25AA;</xsl:when>
     <xsl:when test="$itemsymbol='circle'">&#x25CB;</xsl:when>
     <xsl:when test="$itemsymbol='opencircle'">&#x25CB;</xsl:when>
     <xsl:when test="$itemsymbol='whitesquare'">&#x25A1;</xsl:when>
+    <xsl:when test="$itemsymbol='smallwhitesquare'">&#x25AB;</xsl:when>
     <xsl:when test="$itemsymbol='round'">&#x25CF;</xsl:when>
     <xsl:when test="$itemsymbol='blackcircle'">&#x25CF;</xsl:when>
     <xsl:when test="$itemsymbol='whitebullet'">&#x25E6;</xsl:when>
           </xsl:when>
           <xsl:otherwise>
             <xsl:value-of select="@termlength"/>
-           <xsl:choose>
-             <!-- workaround for passivetex lack of support for non-constant expressions -->
-             <xsl:when test="$passivetex.extensions != 0">
-               <xsl:text>em</xsl:text>
-             </xsl:when>
-             <xsl:otherwise>
-               <xsl:text>em * 0.60</xsl:text>
-             </xsl:otherwise>
-           </xsl:choose>
-         </xsl:otherwise>
+            <xsl:choose>
+              <!-- workaround for passivetex lack of support for non-constant expressions -->
+              <xsl:when test="$passivetex.extensions != 0">
+                <xsl:text>em</xsl:text>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:text>em * 0.60</xsl:text>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:otherwise>
         </xsl:choose>
       </xsl:when>
       <xsl:otherwise>
           <xsl:with-param name="terms" select="varlistentry/term"/>
           <xsl:with-param name="maxlength" select="$variablelist.max.termlength"/>
         </xsl:call-template>
-       <xsl:choose>
-         <!-- workaround for passivetex lack of support for non-constant expressions -->
-         <xsl:when test="$passivetex.extensions != 0">
-           <xsl:text>em</xsl:text>
-         </xsl:when>
-         <xsl:otherwise>
-           <xsl:text>em * 0.60</xsl:text>
-         </xsl:otherwise>
-       </xsl:choose>
+        <xsl:choose>
+          <!-- workaround for passivetex lack of support for non-constant expressions -->
+          <xsl:when test="$passivetex.extensions != 0">
+            <xsl:text>em</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>em * 0.60</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:variable>
     <xsl:choose>
       <!-- workaround for passivetex lack of support for non-constant expressions -->
       <xsl:when test="$passivetex.extensions != 0">
-       <xsl:value-of select="$termlength"/>
+        <xsl:value-of select="$termlength"/>
       </xsl:when>
       <xsl:otherwise>
-       <xsl:value-of select="$termlength"/>
-       <xsl:text>+</xsl:text>
-       <xsl:value-of select="$label-separation"/>
+        <xsl:value-of select="$termlength"/>
+        <xsl:text>+</xsl:text>
+        <xsl:value-of select="$label-separation"/>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:variable>