From: Jirka K. <ko...@us...> - 2004-11-17 20:53:16
|
Update of /cvsroot/docbook/xsl/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20843/html Modified Files: manifest.xsl Log Message: Removed reference to index HTML pages from manifest if the output format is HTML Help Index: manifest.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/html/manifest.xsl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -U2 -r1.5 -r1.6 --- manifest.xsl 14 Oct 2004 17:11:03 -0000 1.5 +++ manifest.xsl 17 Nov 2004 20:53:00 -0000 1.6 @@ -43,5 +43,4 @@ |book/glossary|article/glossary|part/glossary |book/bibliography|article/bibliography|part/bibliography - |book/index|article/index|part/index |colophon" mode="enumerate-files"> @@ -63,4 +62,25 @@ </xsl:template> +<xsl:template match="book/index|article/index|part/index" + mode="enumerate-files"> + <xsl:if test="$htmlhelp.output != 1"> + <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable> + <xsl:if test="$ischunk='1'"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir"> + <xsl:if test="$manifest.in.base.dir = 0"> + <xsl:value-of select="$base.dir"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="base.name"> + <xsl:apply-templates mode="chunk-filename" select="."/> + </xsl:with-param> + </xsl:call-template> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates select="*" mode="enumerate-files"/> + </xsl:if> +</xsl:template> + <xsl:template match="legalnotice" mode="enumerate-files"> <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> |