docbook-apps

  • 1.  db5, fo output, page breaks

    Posted 06-22-2014 11:21
    Chapter based book, I'm getting 'too many' page breaks (chapters less
    than a page long).
    There appears to be no pagination based params to control this?

    Convert to article to reduce length? Is that the only option please?

    TiA

    --

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 2.  Re: [docbook-apps] db5, fo output, page breaks

    Posted 06-23-2014 12:07
    Have you set force.blank.pages to 0? I have some short chapter-based
    books and I found they looked more sensible after removing the empty
    pages.

    http://docbook.sourceforge.net/release/xsl/current/doc/fo/force.blank.pages.html

    Peter

    On Sun, Jun 22, 2014 at 7:20 AM, davep <davep@dpawson.co.uk> wrote:
    > Chapter based book, I'm getting 'too many' page breaks (chapters less
    > than a page long).
    > There appears to be no pagination based params to control this?
    >
    > Convert to article to reduce length? Is that the only option please?
    >
    > TiA
    >
    > --
    >
    > regards
    >
    > --
    > Dave Pawson
    > XSLT XSL-FO FAQ.
    > http://www.dpawson.co.uk
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >



  • 3.  Re: [docbook-apps] db5, fo output, page breaks

    Posted 06-23-2014 13:41
    On Mon, 23 Jun 2014 08:07:16 -0400
    Peter Desjardins <peter.desjardins.us@gmail.com> wrote:

    > Have you set force.blank.pages to 0? I have some short chapter-based
    > books and I found they looked more sensible after removing the empty
    > pages.
    >
    > http://docbook.sourceforge.net/release/xsl/current/doc/fo/force.blank.pages.html
    >
    > Peter

    Yes... but it wouldn't help with tiny chapters? I'm thinking I have to
    go to article layout, not a big job for this piece.

    Thanks Peter.


    >
    > On Sun, Jun 22, 2014 at 7:20 AM, davep <davep@dpawson.co.uk> wrote:
    > > Chapter based book, I'm getting 'too many' page breaks (chapters
    > > less than a page long).
    > > There appears to be no pagination based params to control this?
    > >
    > > Convert to article to reduce length? Is that the only option please?
    > >
    > > TiA
    > >
    > > --
    > >
    > > regards
    > >
    > > --
    > > Dave Pawson
    > > XSLT XSL-FO FAQ.
    > > http://www.dpawson.co.uk
    > >
    > > ---------------------------------------------------------------------
    > > To unsubscribe, e-mail:
    > > docbook-apps-unsubscribe@lists.oasis-open.org For additional
    > > commands, e-mail: docbook-apps-help@lists.oasis-open.org
    > >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-open.org
    >



    --

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 4.  Re: [docbook-apps] db5, fo output, page breaks

    Posted 06-23-2014 14:02
    On 23.6.2014 15:40, davep wrote:
    > Yes... but it wouldn't help with tiny chapters? I'm thinking I have to
    > go to article layout, not a big job for this piece.

    Yes, each chapter starts a new fo:page-sequence, so you have to convert
    book->article and chapter->section before processing to get desired output.

    Jirka

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
    ------------------------------------------------------------------
    Bringing you XML Prague conference http://xmlprague.cz
    ------------------------------------------------------------------




  • 5.  Re: [docbook-apps] db5, fo output, page breaks

    Posted 06-24-2014 06:38
    On Mon, 23 Jun 2014 16:01:52 +0200
    Jirka Kosek <jirka@kosek.cz> wrote:

    > On 23.6.2014 15:40, davep wrote:
    > > Yes... but it wouldn't help with tiny chapters? I'm thinking I have
    > > to go to article layout, not a big job for this piece.
    >
    > Yes, each chapter starts a new fo:page-sequence, so you have to
    > convert book->article and chapter->section before processing to get
    > desired output.
    >
    > Jirka

    Done, not a big job. Easier once I added the front page processing :-)
    I'm sure there's a good reason for new page-sequence.

    Tks Jirka.


    >



    --

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk