[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] FO: How to improve page breaks


Subject: Re: [xsl] FO: How to improve page breaks
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Wed, 19 Feb 2014 15:06:22 -0000 (GMT)

On Wed, February 19, 2014 2:44 pm, Michael M|ller-Hillebrand wrote:
...
> I think I am now looking for something that keeps the heading + the
> following 20mm of content on the same page.
>
> Are there other options I might have overlooked, or is FOPRunXSLText
> recently mentioned by Tony Graham the way I should go?

If you could try it [1] and tell us how well it worked for you, that would
be good, but I think you just need to set "keep-with-next" on the heading
and set the "orphans" property [2] on the paragraph to the equivalent of
20mm of content.

Regards,


Tony Graham                                         tgraham@xxxxxxxxxx
Consultant                                       http://www.mentea.net
Chair, Print and Page Layout Community Group @ W3C    XML Guild member
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
Mentea       XML, XSL-FO and XSLT consulting, training and programming

[1] URL changed since now also works with Antenna House and XSLT
    markup simplified:
    https://www.w3.org/community/ppl/wiki/XSLTExtensions
[2] http://www.w3.org/TR/xsl11/#orphans


Current Thread
Keywords