diff options
Diffstat (limited to 'stylesheets/xhtml/lfs-toc.xsl')
-rw-r--r-- | stylesheets/xhtml/lfs-toc.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stylesheets/xhtml/lfs-toc.xsl b/stylesheets/xhtml/lfs-toc.xsl index af9d57812..56ad11ebc 100644 --- a/stylesheets/xhtml/lfs-toc.xsl +++ b/stylesheets/xhtml/lfs-toc.xsl @@ -4,7 +4,7 @@ xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - <!-- General settings --> + <!-- General settings --> <xsl:param name="generate.toc"> appendix toc book toc,title,figure,table,example,equation @@ -27,8 +27,8 @@ <xsl:param name="toc.max.depth">3</xsl:param> - <!-- Making the TOC --> - <xsl:template name="make.toc"> + <!-- Making the TOC --> + <xsl:template name="make.toc"> <xsl:param name="toc-context" select="."/> <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/> <xsl:if test="$nodes"> @@ -46,7 +46,7 @@ </div> </xsl:if> </xsl:template> - + <!-- Making the subtocs --> <xsl:template name="subtoc"> <xsl:param name="toc-context" select="."/> @@ -71,7 +71,7 @@ <xsl:with-param name="toc-context" select="$toc-context"/> </xsl:call-template> <xsl:if test="$toc.section.depth > $depth and count($nodes)>0 - and $toc.max.depth > $depth.from.context"> + and $toc.max.depth > $depth.from.context"> <xsl:copy-of select="$subtoc"/> </xsl:if> </li> |