OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Lableing local TOCs


Take a look at the 'component.toc' template in fo/components.xsl.  It is
used to generate the TOC for chapters.  This line generates the "Table of
Contents" text:

<xsl:call-template name="table.of.contents.titlepage"/>

That template is in fo/titlepage.templates.xsl, generated from the titlepage
spec file.  You could change component.toc to call a different template,
using the mode="label.markup" to generate the chapter number.  The
'component.toc' template is also used by appendixes and other elements at
the same level that are listed in the generate.toc parameter.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Webmaster" <Webmaster@comtrol.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, May 11, 2005 8:52 AM
Subject: [docbook-apps] Lableing local TOCs


> Which template would I modify to output "Chapter # Table of Contents"
> instead of just "Table of contents"?
>
> Thank you!
>
> LN
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]