in the same way as for revhistory chunks. Using <xsl:apply-templates
mode="chunk-filename" select="."/> did not work for single-page output since
the template with that mode is in chunk-code.xsl.
<xsl:variable name="filename">
<xsl:call-template name="make-relative-filename">
<xsl:with-param name="base.dir" select="$base.dir"/>
- <xsl:with-param name="base.name">
- <xsl:apply-templates mode="chunk-filename" select="."/>
- </xsl:with-param>
+ <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
</xsl:call-template>
</xsl:variable>