[quickbook] Need some help.
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? Regards, &rzej
On Wed, Jun 4, 2014 at 10:20 AM, Andrzej Krzemienski
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:paramboost.root=../../.. #xsl:paramgenerate.section.toc.level=3 xsl:paramchunk.section.depth=2 xsl:paramchunk.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
On 04/06/2014 16:20, Andrzej Krzemienski 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?
Not on a section by section basis, but global docbook formatting options are documented: * In the book: http://sagehill.net/docbookxsl/index.html * In the Docbook XSL reference guide: http://docbook.sourceforge.net/release/xsl/current/doc/reference.html I generally set the chunking depth I want, and then use [h4 Non page breaking header] when I want a heading that doesn't chunk. John.
participants (3)
-
Andrzej Krzemienski
-
John Maddock
-
Rene Rivera