Hi,
I find that Appendix's titles (FDL) are into TOC. As there are nobody
want to translate them, they looks quite ugly in non-English doc's TOC.
I just create a patch to fix it. Daniel, can you look at it. If you are
agree on this, I will commit it.
Attachment: patchxsl
Regards
--
Cai Qian
Index: stylesheets/plainhtml.xsl.in
===================================================================
RCS file: /cvs/gnome/gimp-help-2/stylesheets/plainhtml.xsl.in,v
retrieving revision 1.10
diff -u -r1.10 plainhtml.xsl.in
--- stylesheets/plainhtml.xsl.in 31 Oct 2004 00:51:29 -0000 1.10
+++ stylesheets/plainhtml.xsl.in 12 Nov 2004 17:24:11 -0000
@@ -23,11 +23,15 @@
entry for a simplesect within a chapter or appendix. This cries for
a better fix but will at least cure the "FDL-in-ToC"-issue for
now. -->
- <xsl:template match="simplesect" mode="toc">
+ <xsl:template match="preface|chapter|appendix|article" mode="toc">
<xsl:param name="toc-context" select="."/>
<xsl:call-template name="subtoc">
<xsl:with-param name="toc-context" select="$toc-context"/>
+ <xsl:with-param name="nodes" select="section|sect1|refentry
+ |glossary|bibliography|index
+ |bridgehead[$bridgehead.in.toc != 0]"/>
+
</xsl:call-template>
</xsl:template>