From 6fe358f64881af7cbd3f7d32f1a835c3169f7669 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 23 Nov 2004 08:31:35 +0000 Subject: [PATCH] RFE #1069397 Add new parameter simplesect.in.toc - default value of 0 causes simplesect to be omitted from TOCs - to cause simplesect to be included in TOCs, you must set the value of simplesect.in.toc to 1 note from Norm: Simplesect elements aren't supposed to appear in the ToC at all. Ugh. The Definitive Guide doesn't really explain that very well. The use case for simplesect is when, for example, every chapter in a book ends with "Exercises" or "For More Information" sections and you don't want those to appear in the ToC. --- xsl/fo/autotoc.xsl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xsl/fo/autotoc.xsl b/xsl/fo/autotoc.xsl index 1001782c6..796df4ae1 100644 --- a/xsl/fo/autotoc.xsl +++ b/xsl/fo/autotoc.xsl @@ -314,7 +314,9 @@ - +