Boost logo

Boost :

Subject: Re: [boost] [quickbook] controlling table of contents
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2012-04-13 11:57:59


John Maddock-3 wrote
>
>>> Hello all,
>>>
>>> Is there a way for more fine control of QuickBook table of contents
>>> (toc)?
>>>
>>> Specifically, I'd like to:
>>> 1) Have a toc in the first page with only the sections (no subsections)
>>> listed.
>>> 2) Then, have a full toc on the second documentation page with all
>>> sections
>>> and subsections listed.
>>> I can use any rev of QuickBook for this.
>>
>> Those things are Boostbook-related, Quickbook is just a front-end.
>>
>> Not sure if what you want is directly available, you might have to write
>> your own XML machinery.
>> You can always try the toc.max.depth option.
>
> Look at
> http://docbook.sourceforge.net/release/xsl/current/doc/html/toc_index.html,
> if you play around with the options you should be able to get almost
> anything ;-)
>

Sorry for my limited understanding... I'm trying to move the toc to page 2
instead of the 1st page. I added the following to my Jamfile that generates
my docs:

<xsl:param>toc.pagenum=2

But the toc is still on the 1st page... What am I doing wrong?

Thanks a lot.
--Lorenzo

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-quickbook-controlling-table-of-contents-tp4505670p4555259.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk