This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: different depth of TOC for different elements
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Alexander Kirillov <kirillov at math dot sunysb dot edu>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 01 Mar 2002 00:08:14 +0100
- Subject: DOCBOOK-APPS: Re: different depth of TOC for different elements
- References: <1014413844.9044.19.camel@copiague>
/ Alexander Kirillov <kirillov@math.sunysb.edu> was heard to say:
| Hi all:
| does anyone know how to make TOC's for different elements (book, part,
| chapter...) have different depth? I.e., I want TOC for the book only
| show parts, chapters, and appendices; TOC for part - only chapters; TOC
| for chapters - sect1 and sect2...
|
| Dave Pawson's FAQ page
| http://www.dpawson.co.uk/docbook/styling/params.html#d60e59
| lists this same question and says
|
|>You'd have to create a customization layer that defined a new parameter
|>and a modified TOC-generating template to use it. The TOC machinery is
|>not simple, however. This would make a fine feature request, though.8^)
|
| I looked through TOC machinery and am not eager to customize it - I am a
| newbie. But maybe someone has created such a customization layer since
| this FAQ was written?
No, but I've got another TOC-related request in my queue (a TOC for the top-most
element, regardless of what type it is; so chapters formatted by themselves
have TOCs but chapters inside a book don't).
XSL or DSSSL?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | If we could read the secret
http://www.oasis-open.org/docbook/ | history of our enemies, we should
Chair, DocBook Technical Committee | find in in each one's life sorrow
| and suffering enough to disarm all
| hostility.--H. W. Longfellow