aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-01-07 11:39:56 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-01-07 11:39:56 +0000
commit77e84afbe8ad1d7f1bf624a3ebaa738b1ea6cfe6 (patch)
tree272e4b210d0fbafab211ce6bc55454611803845f /stylesheets
parentef448f2db714629b965d023a86564ccb8379046a (diff)
Removed figure, table, example, and equation from the TOC generation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7250 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/xhtml/lfs-toc.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/stylesheets/xhtml/lfs-toc.xsl b/stylesheets/xhtml/lfs-toc.xsl
index 4fb845844..0a6f39d91 100644
--- a/stylesheets/xhtml/lfs-toc.xsl
+++ b/stylesheets/xhtml/lfs-toc.xsl
@@ -3,11 +3,11 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
-
+
<!-- General settings -->
<xsl:param name="generate.toc">
appendix nop
- book toc,title,figure,table,example,equation
+ book toc,title
chapter nop
part toc
preface nop
@@ -26,7 +26,7 @@
<xsl:param name="toc.section.depth">1</xsl:param>
<xsl:param name="toc.max.depth">3</xsl:param>
-
+
<!-- Making the TOC -->
<xsl:template name="make.toc">
<xsl:param name="toc-context" select="."/>
@@ -46,7 +46,7 @@
</div>
</xsl:if>
</xsl:template>
-
+
<!-- Making the subtocs -->
<xsl:template name="subtoc">
<xsl:param name="toc-context" select="."/>
@@ -70,7 +70,7 @@
<xsl:call-template name="toc.line">
<xsl:with-param name="toc-context" select="$toc-context"/>
</xsl:call-template>
- <xsl:if test="$toc.section.depth &gt; $depth and count($nodes)&gt;0
+ <xsl:if test="$toc.section.depth &gt; $depth and count($nodes)&gt;0
and $toc.max.depth &gt; $depth.from.context">
<xsl:copy-of select="$subtoc"/>
</xsl:if>