← Prev in month ← Prev in thread

Re: [docbook-apps] How to generate TOC for article/appendix (usingFOP)

From
Dave Pawson <>
Date
2008-06-16T17:17:35+00:00
ID
Thread
Re: [docbook-apps] How to generate TOC for article/appendix (usingFOP)
Erik Leunissen wrote:
> Hello all,
> 
> I'm making PDF output from a docbook xml source for an article, and am
> currently experimenting with generating a toc for an appendix in that
> article.
> 
> To that end, I inserted the following statements in a xsl-customization
> layer:
> 
> <xsl:param name="generate.toc"> \
> 		appendix  toc,title \
> 		article   nop \
> 		article/appendix   toc,title \
> 		book      nop \
> 		chapter   nop \
> 		part      nop \
> 		preface   nop \
> 		qandadiv  nop \
> 		qandaset  nop \
> 		reference nop \
> 		section   nop \
> 		set       nop </xsl:param>
> 
> The PDF output looks nice when viewed with acrobat reader, but it
> doesn't have the so-desired toc.
> 
> I've tried several variations on the above customization instruction,
> which all have the expected effect except when the appendix is concerned.
> 
> Does anybody have an idea what's wrong?

Are you using the <toc/> element in your source file?






regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
← Prev in month ← Prev in thread