This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: ToC
- To: docbook-apps at lists dot oasis-open dot org, kenw at ddd dot co dot za
- Subject: Re: DOCBOOK-APPS: ToC
- From: Bob Stayton <bobs at caldera dot com>
- Date: Wed, 10 Oct 2001 10:06:10 -0700 (PDT)
- List-Id: <docbook-apps.lists.oasis-open.org>
> From: Ken Walton <kenw@ddd.co.za>
>
> I am using DocBook 4.1.2. with Xalan and the DocBook XSL.
>
> I want to be able to increase my table of content levels on the chapter
> pages in my book but not on my main ToC. Does anyone know if this is
> possible.
I presume you mean for HTML output, in which case it does
not appear to be possible by changing a parameter. Both
the book TOC and the chapter TOC use the same global
parameter 'toc.section.depth'. 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 am also attempting to have my figures and tables included in the ToC. I
> have tried <xsl:param name="titles" select="'figure'"/> in my customization
> layer but I'm still having no joy.
It seems that these are supported in the fo stylesheets for
PDF output, but not in the html stylesheets. If you look
in the fo/param.xsl file, you'll see these parameters:
<xsl:param name="generate.division.figure.lot" select="1" />
<xsl:param name="generate.division.example.lot" select="1" />
<xsl:param name="generate.division.equation.lot" select="1" />
<xsl:param name="generate.division.table.lot" select="1" />
But these are not in html/param.xsl, nor do they appear
in the html templates. 8^(
Another feature request.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>