This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: different depth of TOC for different elements


/ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]