From 0906896c3b0e4417b5e1d822f440ebe935e5c1dc Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Thu, 4 May 2006 12:46:45 +0000 Subject: [PATCH] Added new parameter chunk.tocs.and.lots.has.title which controls presence of title in a separate chunk with ToC/LoT. Disabling title can be very useful if you are generating frameset output (well, yes those frames, but some customers really want them ;-). --- xsl/html/chunk-code.xsl | 8 ++++--- xsl/html/param.ent | 1 + xsl/html/param.xweb | 2 ++ xsl/params/chunk.tocs.and.lots.has.title.xml | 23 ++++++++++++++++++++ 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 xsl/params/chunk.tocs.and.lots.has.title.xml diff --git a/xsl/html/chunk-code.xsl b/xsl/html/chunk-code.xsl index bb68358e2..14844de97 100644 --- a/xsl/html/chunk-code.xsl +++ b/xsl/html/chunk-code.xsl @@ -733,9 +733,11 @@ -

- -

+ +

+ +

+
diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 790aedb87..0f2a02098 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -244,6 +244,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 5bf21b276..7aefff73c 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -329,6 +329,7 @@ stylesheet like this: &chunk.toc; &chunk.tocs.and.lots; &chunk.separate.lots; +&chunk.tocs.and.lots.has.title; &chunk.section.depth; &chunk.first.sections; &chunk.quietly; @@ -486,6 +487,7 @@ around all these parameters. + diff --git a/xsl/params/chunk.tocs.and.lots.has.title.xml b/xsl/params/chunk.tocs.and.lots.has.title.xml new file mode 100644 index 000000000..a27b35889 --- /dev/null +++ b/xsl/params/chunk.tocs.and.lots.has.title.xml @@ -0,0 +1,23 @@ + + +chunk.tocs.and.lots.has.title +boolean + + +chunk.tocs.and.lots.has.title +Should ToC and LoTs in a separate chunks have title? + + + + + + + + +Description + +If non-zero title of document is shown before ToC/LoT in +separate chunk. + + + -- 2.40.0