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 (using FOP)


> -----Original Message-----
> From: Erik Leunissen 
> 
> 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 think you have to remove the line continuation characters. There should
only be whitespace between the entries.

/MJ




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