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

From
David Cramer <>
Date
2018-01-18T12:37:00+00:00
ID
Thread
Re: [docbook-apps] Specific chunk.section.depth on one section
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 [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 <>
          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: 

            For additional commands, e-mail: 

            

          
        

        

        
        

        

        -- 

        

          

            
~~~*******'''''''''''''*******~~~

              
Kasun Gajasinghe

                Senior Software Engineer; WSO2 Inc.; http://wso2.com,

                
                
Linked-in: http://lk.linkedin.com/in/gajasinghe

                    
                  
Blog: http://blog.kasunbg.org
                    
 

                    

                        GitHub: http://github.com/kasunbg