This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: different depth of TOC for different elements
- From: Alexander Kirillov <kirillov at math dot sunysb dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 01 Mar 2002 09:33:05 -0500
- Subject: Re: DOCBOOK-APPS: Re: different depth of TOC for different elements
- References: <1014413844.9044.19.camel@copiague> <87lmddfbmp.fsf@nwalsh.com>
XSL.
I actually managed to get part of what I wanted by a rather crude hack,
but having a real solution, which would allow setting parameters
booc.toc.section.depth, chapter.toc.section.depth,
part.toc.section.depth, etc independenlty would be much appreciated
Sasha
On Thu, 2002-02-28 at 18:08, Norman Walsh wrote:
> / 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
>