[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
Hi,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:http://docbook.sourceforge.net/release/xsl/1.79.1/doc/pi/dbhtml_stop-chunking.html Regards, David 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 . It seems your requirement can be addressed by a manually edited table of contents file.  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. http://www.sagehill.net/docbookxsl/Chunking.html#ManualChunkingOn Thu, Jan 18, 2018 at 2:46 AM, Mats S. E. Broberg <email@example.com <mailto:firstname.lastname@example.org>> wrote:Greetings, 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: email@example.com <mailto:firstname.lastname@example.org> For additional commands, e-mail: email@example.com <mailto:firstname.lastname@example.org> -- ~~~*******'''''''''''''*******~~~ *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/