docbook-apps

Re: [docbook-apps] How to avoid page breaks after sections: DocBook to ePub

  • 1.  Re: [docbook-apps] How to avoid page breaks after sections: DocBook to ePub

    Posted 05-13-2012 20:11
    The separation of different parts of a document into separate HTML files is called "chunking" in the DocBook stylesheets. There are many options for controlling what becomes a chunk, as described in this doc:

    http://www.sagehill.net/docbookxsl/Chunking.html#ControllingChunks

    In your case, you would need to set these two stylesheet parameters in a customization layer as follows:

    chunk.section.depth=0
    chunk.first.sections=0

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net