]> granicus.if.org Git - docbook-dsssl/commitdiff
Bug #435320: Poor enumeration of LoTs and LoFs
authorNorman Walsh <ndw@nwalsh.com>
Tue, 4 Dec 2001 21:58:30 +0000 (21:58 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 4 Dec 2001 21:58:30 +0000 (21:58 +0000)
xsl/common/labels.xsl

index d5ab761670577d3a708f8ed01ae558369213bce4..df179f4c3c9290ba6d67e275061546c72ccb579f 100644 (file)
@@ -469,7 +469,9 @@ element label.</para>
 <xsl:template match="figure|table|example|equation|procedure"
               mode="label.markup">
   <xsl:variable name="pchap"
-                select="ancestor::chapter|ancestor::appendix"/>
+                select="ancestor::chapter
+                        |ancestor::appendix
+                        |ancestor::article[ancestor::book]"/>
 
   <xsl:variable name="prefix">
     <xsl:if test="count($pchap) &gt; 0">