← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook-apps] Placing table of contents after preface (SOLVED)

From
Tero Koskinen <>
Date
2007-05-04T19:29:03+00:00
ID
Thread
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"/>

Thanks,

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/
← Prev in month ← Prev in thread
Next in thread → Next in month →