From: Norman Walsh Date: Fri, 27 Sep 2002 12:47:19 +0000 (+0000) Subject: Properly support bridgehead.in.toc parameter X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8148e5581b116f33aa88188e4b35aa0558adcd8;p=docbook-dsssl Properly support bridgehead.in.toc parameter --- diff --git a/xsl/html/autotoc.xsl b/xsl/html/autotoc.xsl index 8ffe6567c..8f3584e14 100644 --- a/xsl/html/autotoc.xsl +++ b/xsl/html/autotoc.xsl @@ -132,7 +132,8 @@ |article |bibliography|glossary|index |refentry - |bridgehead"/> + |bridgehead[$bridgehead.in.toc != 0]"/> + @@ -143,8 +144,11 @@ + |appendix + |bridgehead[not(@renderas) + and $bridgehead.in.toc != 0] + |.//bridgehead[@renderas='sect1' + and $bridgehead.in.toc != 0]"/> @@ -155,7 +159,8 @@ + |bridgehead[$bridgehead.in.toc != 0]"/> + @@ -258,7 +263,7 @@ |article |bibliography|glossary|index |refentry - |bridgehead"/> + |bridgehead[$bridgehead.in.toc != 0]"/> @@ -270,7 +275,7 @@ + |bridgehead[$bridgehead.in.toc != 0]"/> @@ -279,7 +284,8 @@ - + @@ -287,7 +293,8 @@ - + @@ -296,7 +303,8 @@ - + @@ -305,7 +313,8 @@ - + @@ -314,7 +323,8 @@ - + @@ -331,7 +341,8 @@ - +