Changeset 77e84af


Ignore:
Timestamp:
01/07/2006 11:39:56 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
cc25e35
Parents:
ef448f2
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/xhtml/lfs-toc.xsl

    ref448f2 r77e84af  
    44                xmlns="http://www.w3.org/1999/xhtml"
    55                version="1.0">
    6                
     6
    77    <!-- General settings -->
    88  <xsl:param name="generate.toc">
    99    appendix  nop
    10     book      toc,title,figure,table,example,equation
     10    book      toc,title
    1111    chapter   nop
    1212    part      toc
     
    2727
    2828  <xsl:param name="toc.max.depth">3</xsl:param>
    29  
     29
    3030    <!-- Making the TOC -->
    3131  <xsl:template name="make.toc">
     
    4747    </xsl:if>
    4848  </xsl:template>
    49  
     49
    5050    <!-- Making the subtocs -->
    5151  <xsl:template name="subtoc">
     
    7171        <xsl:with-param name="toc-context" select="$toc-context"/>
    7272      </xsl:call-template>
    73       <xsl:if test="$toc.section.depth &gt; $depth and count($nodes)&gt;0 
     73      <xsl:if test="$toc.section.depth &gt; $depth and count($nodes)&gt;0
    7474              and $toc.max.depth &gt; $depth.from.context">
    7575        <xsl:copy-of select="$subtoc"/>
Note: See TracChangeset for help on using the changeset viewer.