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


Hi Christian,

There is no parameter to place the TOC at the end of the book.

You will need to copy the template that starts with match="book" from
fo/division.xsl to your customization file, and then rearrange it.  Locate
the parts that are testing for toc.params (that includes the TOC and lists
of figures, tables, etc. if those are turned on), and move those to the end
of the template after <xsl:apply-templates select="$content"/> which outputs
the rest of the book.

This works because each kind of TOC starts its own page-sequence.  You may
need to adjust the page number format for them as well.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "christian brugeron" <christian@barzoi.fr>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Friday, September 03, 2004 12:21 PM
Subject: [docbook-apps] TOC placement


> Hi,
>
> I'd like to have the TOC at the very end of the book.
> Do I have to rewrite something, or is it a parameter?
>
> Thanks
>
>
> Christian
>
>
>



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