From: Bob Stayton Date: Tue, 1 Nov 2011 01:00:59 +0000 (+0000) Subject: Fix bug when $toc.section.depth=0 causes book toc to X-Git-Tag: release/1.79.1~6^2~627 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a24f6267191f15b8fe993292fd03370266c64bcd;p=docbook-dsssl Fix bug when $toc.section.depth=0 causes book toc to ignore chapters and appendixes. --- diff --git a/xsl/html/autotoc.xsl b/xsl/html/autotoc.xsl index 0357355e5..03a87ab36 100644 --- a/xsl/html/autotoc.xsl +++ b/xsl/html/autotoc.xsl @@ -301,16 +301,18 @@ - $depth) and ( ($qanda.in.toc = 0 and count($nodes)>0) or ($qanda.in.toc != 0 and count($nodes.plus)>0) ) and $toc.max.depth > $depth.from.context"> - $depth) and ( ($qanda.in.toc = 0 and count($nodes)>0) or ($qanda.in.toc != 0 and count($nodes.plus)>0) ) and $toc.max.depth > $depth.from.context">