[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Multiple TOCs
Hi all, Is it possible to have multiple TOC's? I need a short TOC with just <part> and <chapter> titles and then a second TOC following after with <section> for a more detailed TOC. I tried adding the following to <xsl:template
match="d:book"> <xsl:call-template name="make.book.tocs"> <xsl:with-param name="toc.max.depth" select="4"/> <xsl:with-param name="toc.section.depth" select="0"/> </xsl:call-template> <xsl:call-template name="make.book.tocs"> <xsl:with-param name="toc.max.depth" select="4"/> <xsl:with-param name="toc.section.depth" select="1"/> </xsl:call-template> But I'm getting a Previously Used ID error - ID values must be unique within a document which makes sense. I know I can manually create a TOC file and include that way - https://tdg.docbook.org/tdg/5.2/toc.html but is there a way to do it automatically and avoid the duplicate ID? Thanks, Peter
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]