Changeset df180b43 for stylesheets


Ignore:
Timestamp:
06/02/2005 04:49:14 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
1e901a7
Parents:
03ff511
Message:

Removed unneeded elements from TOC generation.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4539 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

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

    r03ff511 rdf180b43  
    55                version="1.0">
    66
    7                 <!-- General settings -->
     7    <!-- General settings -->
    88  <xsl:param name="generate.toc">
    99    appendix  toc
    10     book      toc,title,figure,table,example,equation
     10    book      toc,title
    1111    chapter   nop
    1212    part      toc
     
    2828  <xsl:param name="toc.max.depth">3</xsl:param>
    2929
    30         <!-- Making the TOC -->
    31         <xsl:template name="make.toc">
     30    <!-- Making the TOC -->
     31  <xsl:template name="make.toc">
    3232    <xsl:param name="toc-context" select="."/>
    3333    <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/>
     
    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 
    74                                 and $toc.max.depth &gt; $depth.from.context">
     73      <xsl:if test="$toc.section.depth &gt; $depth and count($nodes)&gt;0
     74              and $toc.max.depth &gt; $depth.from.context">
    7575        <xsl:copy-of select="$subtoc"/>
    7676      </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.