Next in thread → Next in month →

Re: [docbook-apps] Lableing local TOCs

From
Bob Stayton <>
Date
2005-05-12T18:46:04+00:00
ID
002601c55722$d7d767d0$6400a8c0@toshiro
Thread
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



----- Original Message ----- 
From: "Webmaster" <>
To: <>
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: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →