Changeset e1ca33a for stylesheets


Ignore:
Timestamp:
01/07/2006 11:54:51 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
0e3cef8
Parents:
46a2e9c
Message:

Ported r7249 and r7250 from trunk.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7251 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

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

    r46a2e9c re1ca33a  
    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.