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] Resetting TOCs in a book by article


Hi Bob,

I've think I might have come to grips with our situation regarding getting
article TOCs to work in our book.

 All of our articles share the same id's thus there are tons of duplicates
the only difference between a french and english chapter/title is the
lang="en" or lang="de" attribute.

<book>

 <article id="a-10c0fa7-103d1dd5236--7c1e" lang="en"/>

 <article id="a-10c0fa7-103d1dd5236--7c1e" lang="fr"/>

 <article id="a-10c0fa7-103d1dd5236--7c1e" lang="de"/>

 <article id="a-10c0fa7-103d1dd5236--7c1e" lang="hr"/>

 </book>

Will having sevaral articles with matching id's cause the TOC to not reset
correctly?

Thanks,

David White

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Wednesday, February 15, 2006 10:44 AM
To: David White; docbook-apps@lists.oasis-open.org
Subject: 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
bobs@sagehill.net


----- Original Message -----
From: "David White" <davidw@kencook.com>
To: <docbook-apps@lists.oasis-open.org>
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
>
>



---------------------------------------------------------------------
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]