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: [xsl-1.74/fop] cannot generate TOC within article environment


I have a problem generating a table of contents within an <article> environment.

Processing is done via xalan (fo) -> fop 0.95.

In a book environment, the table of contents in generated after the Preface. For the article the abstract is shown and instantly the first Section.

I have no idea which parameter i forgot to enable for the article environment, nor any idea's on tracking it down.
<xsl:param name="generate.toc">
article   toc,title,figure,table,example,equation
/appendix toc,title
article/appendix  nop
/article  toc,title
book      toc,title,figure,table,example,equation
/chapter  toc,title
part      toc,title
/preface  toc,title
reference toc,title
/sect1    toc
/sect2    toc
/sect3    toc
/sect4    toc
/sect5    toc
/section  toc
set       toc,title

  <!-- go down to section 4 for the toc                -->
  <xsl:param name="toc.section.depth"          select="4"/>

  <!-- generate a TOC in each chapter                  -->
  <xsl:param name="generate.section.toc.level" select="1"/>


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