From a644b92fefdfede643165508af47eb671d3a8b12 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Fri, 27 Sep 2002 12:47:19 +0000 Subject: [PATCH] Properly support bridgehead.in.toc parameter --- xsl/html/autotoc.xsl | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) 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 @@ - + -- 2.40.0