[quickbook] Understanding xsl:param(s) for TOC generation

[Please do not mail me a copy of your followup] I have this magic recipe in my jam file: import quickbook ; boostbook foo : src/foo.qbk : xsl:paramchunk.section.depth=4 xsl:paramchunk.first.sections=1 xsl:paramtoc.section.depth=4 xsl:paramtoc.max.depth=4 xsl:paramgenerate.section.toc.level=4 and to be honest I copy/pasted it from somewhere else and I really don't understand this recipe. I looked in the quickbook documentation and I couldn't find anything discussing these parameters like toc.max.depth, etc. Where can I find documentation on these paramters? -- "The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d-pipeline The Computer Graphics Museum http://computergraphicsmuseum.org The Terminals Wiki http://terminals.classiccmp.org Legalize Adulthood! (my blog) http://legalizeadulthood.wordpress.com

-----Original Message----- From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Richard Sent: Thursday, August 01, 2013 2:35 PM To: boost-users@lists.boost.org Subject: [Boost-users] [quickbook] Understanding xsl:param(s) for TOC generation
[Please do not mail me a copy of your followup]
I have this magic recipe in my jam file:
import quickbook ;
boostbook foo : src/foo.qbk : xsl:paramchunk.section.depth=4 xsl:paramchunk.first.sections=1 xsl:paramtoc.section.depth=4 xsl:paramtoc.max.depth=4 xsl:paramgenerate.section.toc.level=4
and to be honest I copy/pasted it from somewhere else and I really don't understand this recipe.
I looked in the quickbook documentation and I couldn't find anything discussing these parameters
Mea Culpa :-( like
toc.max.depth, etc.
Where can I find documentation on these paramters?
I think that these are Docbook style sheets. http://docbook.sourceforge.net/release/xsl/current/doc/index.html googling got me here http://docbook.sourceforge.net/release/xsl/1.78.1/doc/html/generate.section.... I've never changed them from when Doug Gregor, John Maddock or Steven Watanabe set them up. there are separate setting for the PDF versions in the jamfile (default is html so the above are for html) . HTH Paul

Where can I find documentation on these paramters?
Since this is all an extension of Docbook, that's where you look for information, the two main references are: The stylesheet references: http://docbook.sourceforge.net/release/xsl/current/doc/ And the online book on the subject: http://www.sagehill.net/book-description.html HTH, John.
participants (3)
-
John Maddock
-
legalize+jeeves@mail.xmission.com
-
Paul A. Bristow