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] Placing table of contents after preface (SOLVED)

On Thu, 3 May 2007 14:03:13 -0700 Bob Stayton wrote:

> Hi,
> There are some stylesheet parameters that control the placement of 
> generated TOCs.  In your case, you want to set the stylesheet parameter 
> named generate.toc to empty to turn off the regular process, and set the 
> parameter named process.empty.source.toc to 1.  Then the normal toc will be 
> gone and your empty <toc/> element should generate the book toc.
> <xsl:param name="generate.toc"/>
> <xsl:param name="process.empty.source.toc select="1"/>


Placing those lines in my custom stylesheet solved the problem.

Parameter process.empty.source.doc is documented in
FO Parameter Reference (included in docbook-xsl package), but
I had somehow missed the whole reference.

Tero Koskinen - http://iki.fi/tero.koskinen/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]