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: chunking customization interfering with toc generation

I'm using xsltproc, DocBook 5, and the XSL-NS1.75.1 stylesheets.
I have customized chunking to give a filename matching this pattern:
where the 'sect00nn' represents the section number.

My problem is that even though the generated filenames are correct, the auto-generated tocs are wrong. Well, not all wrong, just the tocs that reference a section that does *not* have its own file.

For example, in my 2nd-level section (book_chapter_sect002.htm) there is a toc that lists the 3rd level sections contained in the current file. the toc contains links that point to:

The problem is that those files don't exist since the content is inside the 2nd level section.

My relevant parameter settings:
<xsl:param name="chunk.first.sections" select="1"></xsl:param>
<xsl:param name="chunk.section.depth" select="2"></xsl:param>
<xsl:param name="toc.section.depth">2</xsl:param>
<xsl:param name="generate.section.toc.level" select="2"></xsl:param>
<xsl:param name="toc.max.depth">1</xsl:param>

I've read and re-read the DocBook XSL guide on chunking, googled, etc. My guess is that the part of chunking.xsl that returns the filename is getting called when it should not.

Has anyone seen something like this and can point me to the places I need to investigate?

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