]> granicus.if.org Git - docbook-dsssl/commitdiff
Number all equations in one sequence, with or without title.
authorBob Stayton <bobs@sagehill.net>
Wed, 2 Dec 2009 05:28:09 +0000 (05:28 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 2 Dec 2009 05:28:09 +0000 (05:28 +0000)
xsl/common/labels.xsl

index 3d9ce5ca5e1b85c276aff0f3e9bd4ac8a7807d0b..db96ab5727025c3ce7542b81f9e6ea351b3963fb 100644 (file)
@@ -742,11 +742,11 @@ element label.</para>
             <xsl:apply-templates select="$pchap" mode="label.markup"/>
             <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/>
           </xsl:if>
-          <xsl:number format="1" count="equation[title or info/title]
+          <xsl:number format="1" count="equation" 
                       from="chapter|appendix" level="any"/>
         </xsl:when>
         <xsl:otherwise>
-          <xsl:number format="1" count="equation[title or info/title]
+          <xsl:number format="1" count="equation" 
                       from="book|article" level="any"/>
         </xsl:otherwise>
       </xsl:choose>