From: Norman Walsh Date: Mon, 18 Mar 2002 23:19:12 +0000 (+0000) Subject: Fix ToC section depth calculation X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c2871553aff9288c3a84339ec7f7a5a65fb88df;p=docbook-dsssl Fix ToC section depth calculation --- diff --git a/xsl/html/autotoc.xsl b/xsl/html/autotoc.xsl index 9f48ec52d..ff52ad638 100644 --- a/xsl/html/autotoc.xsl +++ b/xsl/html/autotoc.xsl @@ -229,6 +229,40 @@ + + + + + + 1 + 2 + 3 + 4 + 5 + 1 + 2 + 3 + + + + + + + 2 + 3 + 4 + 5 + 6 + 2 + 3 + 4 + 1 + + + 0 + + + @@ -250,6 +284,7 @@ + @@ -257,12 +292,12 @@ + and $toc.section.depth > $depth and count($nodes)>0"> + and $toc.section.depth > $depth and count($nodes)>0"> @@ -322,32 +357,9 @@ - - - - yes - - - - yes - - - no - - - - - - - - - - - - - - - + + +