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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Generating TOC with Saxon

At 15:33 17/10/2001 -0400, Jeff Beal wrote:
>I'm having problems getting Saxon to generate table of contents.  I've 
>tried passing parameters to DocBook via the command-line and in a 
>stylesheet.  I've tried having every 'generate.xxx.toc' set to 1, and 
>tried setting some of them to zero.  I haven't yet hit on the right 
>combination to generate a table of contents for each book in the docset.
>Here's the latest parameter section of my driver:
>  <xsl:param name="use.extensions" select="'1'"/>
>  <xsl:param name="generate.division.toc" select="1" />
>  <xsl:param name="generate.chapter.toc" select="0" />
>  <xsl:param name="generate.set.toc" select="0" />
>  <xsl:param name="generate.section.toc" select="0" />
>  <xsl:param name="generate.book.toc" select="1" />
>  <xsl:param name="generate.reference.toc" select="0" />Can anyone help me 
> out here?

Is this for docbook or website?
Assuming docbook and html and xslt !

<xsl:param name="generate.component.toc" select="1" doc:type='boolean'/>
<xsl:param name="generate.division.toc" select="1" doc:type='boolean'/>
<xsl:param name="generate.set.toc" select='1' doc:type='boolean'/>
defaults to true
<xsl:param name="generate.section.toc" select='0' doc:type='boolean'/>

So perhaps if you are only using sections, you won't get tocs?
The only other thing I can think of is that you haven't put
a <toc/> element in the source, to tell the stylesheets
where you want the toc?


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

Powered by eList eXpress LLC