Boost logo

Boost :

Subject: Re: [boost] [quickbook] Need some help.
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2014-06-04 11:24:04


On Wed, Jun 4, 2014 at 10:20 AM, Andrzej Krzemienski <akrzemi1_at_[hidden]> wrote:
>
> Hi,
> Could someone help me with quickbook format? How can I nest the [section]
> elements so that this nesting is reflected in the table of contents and
> html files?
>
> I have 2 levels of nesting of element [section]:
>
> [section A]
> [section AA]
> [endsect]
> [section AB]
> [endsect]
> [endsect]
>
> When generatin the html docs , sections AA and AB end up in the same html
> file. How can I change it? (So that they land in two different files)
> If it is possible, can I control it by section?

I don't know if you can control it by section. But you can control it
globally with docbook options. For example for Predef I do this in my
Jamfile:

boostbook standalone
    :
        predef
    :
        <xsl:param>boost.root=../../..
        #<xsl:param>generate.section.toc.level=3
        <xsl:param>chunk.section.depth=2
        <xsl:param>chunk.first.sections=1

        <dependency>images
        <dependency>callouts
        <dependency>css
    ;

The chunk.* options control the generated grouping of pages and
sections. I think they are documented in the docbook-xsl docs some
place.

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

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