Re: [docbook-apps] Resetting TOCs in a book by article

From
Bob Stayton <>
Date
2006-02-15T16:43:30+00:00
ID
007001c6324f$0a690de0$6400a8c0@toshiro
Thread
Re: [docbook-apps] Resetting TOCs in a book by article
The generate.toc parameter determines where TOCs are
produced.

  <xsl:param name="generate.toc">
    article  title,toc
</xsl:param>

This should produce a TOC for each article, listing
that article's sections.
It also turns off the book's TOC.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "David White" <>
To: <>
Sent: Wednesday, February 15, 2006 8:25 AM
Subject: [docbook-apps] Resetting TOCs in a book by
article


> Hello,
>
> I have the following format:
>
> <book>
>
> <article lang="en"/>
>
> <article lang="fr"/>
>
> <article lang="de"/>
>
> <article lang="hr"/>
>
> </book>
>
>
>
> How can I get a generated TOC for each article to use
the corret page
> numbers?  Currently the first TOC generated is used
for all articles.
>
> Any suggestions?
>
> David White
>
>