OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Specific chunk.section.depth on one section


This seems to solve the problem almost perfectly - many thanks for that - but introduces a small condundrum.

I want chunk.first.section = 0 on all sections except the first level 1 section in the article.

Kind regards,
Mats Broberg

On 01/18/2018 01:36 PM, David Cramer wrote:
Another option (that I don't see mentioned in Bob's book) would be to set the chunking depth very deep and then disable it using the <?dbhtml stop-chunking?> processing-instruction in most cases:




On 1/18/18 4:26 AM, Kasun Gajasinghe wrote:
Hi Mats,

Webhelp uses the default chunking behavior that comes with Docbook. I checked the chunking docs at [1]. It seems your requirement can be addressed by a manually edited table of contents file. [1] The chunk.section.depth param will be ignored, and the chunking will happen with the given toc file.

We however should check how this works with Webhelp though. Especially the Table of Contents in the left pane.

[1] http://www.sagehill.net/docbookxsl/Chunking.html#ManualChunking

On Thu, Jan 18, 2018 at 2:46 AM, Mats S. E. Broberg <mats.broberg@gmail.com <mailto:mats.broberg@gmail.com>> wrote:


    I have a (frequently updated) document (DocBook 5.0 'article')
    that I publish to WebHelp and PDF. For the WebHelp version
    chunk.section.depth is set to 1.

    However, one particular (top level) section contains subsections
    with so many images that I want that section to have a
    chunk.section.depth set to 3.

    Is this at all possible?

    Thanks in advance.

    Kind regards,
    Mats Broberg

    To unsubscribe, e-mail:
    For additional commands, e-mail:

*Kasun Gajasinghe*
Senior Software Engineer; WSO2 Inc.; http://wso2.com <http://wso2.com/>,
/Linked-in: /http://lk.linkedin.com/in/gajasinghe/
/Blog: //http://blog.kasunbg.org/ <http://blog.kasunbg.org/>
GitHub: //http://github.com/kasunbg/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]