</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>
<!-- ====================================================================== -->