]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed callout numbering bug when <co> inside an inline.
authorBob Stayton <bobs@sagehill.net>
Thu, 7 Aug 2003 17:04:43 +0000 (17:04 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 7 Aug 2003 17:04:43 +0000 (17:04 +0000)
xsl/html/callout.xsl

index d1e8a0cb66ed3ba8924360dd56a7ceb9ceec0dac..03f4dc4a0fd2570966f3ed57cc8c33ef2c530a54 100644 (file)
 <xsl:template match="co" mode="callout-bug">
   <xsl:call-template name="callout-bug">
     <xsl:with-param name="conum">
-      <xsl:number count="co" format="1"/>
+      <xsl:number count="co"
+                  level="any"
+                  from="programlisting|screen|literallayout|synopsis"
+                  format="1"/>
     </xsl:with-param>
   </xsl:call-template>
 </xsl:template>