Boost logo

Boost :

Subject: Re: [boost] [quickbook] controlling table of contents
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-03-26 11:31:22


>> 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 ;-)

HTH, John.


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