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] TOC position in the document

To change the order in a book, you would need to customize the template in 
fo/division.xsl in the DocBook stylesheets that starts with:

<xsl:template match="book">

This is the line in that template that generates the TOC:

  <xsl:call-template name="make.book.tocs"/>

So put code to process your special content before that.

You will also need to modify the definition of the xsl:variable named "content" to 
exclude your special content, otherwise it will be repeated when that variable is 
output after the TOC.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Fabien Tillier" <f.tillier@cerep.fr>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, August 16, 2010 7:18 AM
Subject: [docbook-apps] TOC position in the document

Hi List.
I would like to set the position in the document where the TOC should be
displayed. I got several sections, and my which would be to set it to
appear after a certain section. Is there a way I can achieve this using
Docbook (v5, the output being PDF with FOP, but should not matter) ?

Thanks a lot in advance

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]