Discussion:
db5, fo output, page breaks
davep
2014-06-22 11:20:35 UTC
Permalink
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
Peter Desjardins
2014-06-23 12:07:16 UTC
Permalink
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
Post by davep
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
---------------------------------------------------------------------
davep
2014-06-23 13:40:33 UTC
Permalink
On Mon, 23 Jun 2014 08:07:16 -0400
Post by Peter Desjardins
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.
Post by Peter Desjardins
Post by davep
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
---------------------------------------------------------------------
---------------------------------------------------------------------
--
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Jirka Kosek
2014-06-23 14:01:52 UTC
Permalink
Post by davep
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: ***@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
------------------------------------------------------------------
davep
2014-06-24 06:37:30 UTC
Permalink
On Mon, 23 Jun 2014 16:01:52 +0200
Post by Jirka Kosek
Post by davep
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
Loading...