]> granicus.if.org Git - docbook-dsssl/commitdiff
List of Equations now includes on equations with titles.
authorBob Stayton <bobs@sagehill.net>
Mon, 7 Dec 2009 06:03:50 +0000 (06:03 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 7 Dec 2009 06:03:50 +0000 (06:03 +0000)
xsl/html/chunk-common.xsl

index aa22094956359cc3c0c351ddff110ee6a3586a94..e6c71e1e288621183e88b7a95e9125e014e710d8 100644 (file)
             <xsl:with-param name="lot">
               <xsl:call-template name="list.of.titles">
                 <xsl:with-param name="titles" select="'equation'"/>
-                <xsl:with-param name="nodes" select=".//equation"/>
+                <xsl:with-param name="nodes" select=".//equation[title or info/title]"/>
               </xsl:call-template>
             </xsl:with-param>
           </xsl:call-template>
         <xsl:otherwise>
           <xsl:call-template name="list.of.titles">
             <xsl:with-param name="titles" select="'equation'"/>
-            <xsl:with-param name="nodes" select=".//equation"/>
+            <xsl:with-param name="nodes" select=".//equation[title or info/title]"/>
           </xsl:call-template>
         </xsl:otherwise>
       </xsl:choose>