]> granicus.if.org Git - docbook-dsssl/commitdiff
fix bug 2948363 generated filename for refentry not unique, when
authorBob Stayton <bobs@sagehill.net>
Sat, 20 Mar 2010 04:36:45 +0000 (04:36 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 20 Mar 2010 04:36:45 +0000 (04:36 +0000)
used in a set.

xsl/html/chunk-code.xsl

index 8f63a55b0cf6b91037083f06a8e1b2c851d8b56f..c467bd3f37107d011983305f8acbd97009e2b3f5 100644 (file)
           </xsl:apply-templates>
         </xsl:when>
         <xsl:otherwise>
+          <xsl:if test="/set">
+            <!-- in a set, make sure we inherit the right book info... -->
+            <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+              <xsl:with-param name="recursive" select="true()"/>
+            </xsl:apply-templates>
+          </xsl:if>
         </xsl:otherwise>
       </xsl:choose>
 
 
 <xsl:template match="*" mode="process.root">
   <xsl:apply-templates select="."/>
+  <xsl:call-template name="generate.css"/>
 </xsl:template>
 
 <!-- ====================================================================== -->