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: [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
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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