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: 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


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