]> granicus.if.org Git - docbook-dsssl/commitdiff
Now uses number-and-title-template for sections only
authorBob Stayton <bobs@sagehill.net>
Sat, 5 Apr 2003 10:33:50 +0000 (10:33 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 5 Apr 2003 10:33:50 +0000 (10:33 +0000)
if $section.autolabel is not zero.

xsl/common/gentext.xsl

index 46458a74abab888469b07e6eabfed165db8f3d7c..1776af2525bd551bbe5fa7e0827f5829bb5a22e3 100644 (file)
 
   <xsl:choose>
     <xsl:when test="$number-and-title-template != 0
+                    and $section.autolabel != 0
                     and $xref.with.number.and.title != 0">
       <xsl:call-template name="gentext.template">
         <xsl:with-param name="context" select="'xref-number-and-title'"/>