RE: [xsl] XSL-FO: keep-together.within-page and keep-with-previous.within-page page break issue

Subject: RE: [xsl] XSL-FO: keep-together.within-page and keep-with-previous.within-page page break issue
From: Mario Madunic <mario.madunic@xxxxxxxxxxxx>
Date: Sat, 12 Oct 2013 18:48:29 -0700
Hi Tony,

Thanks for your reply and sorry for the late reply myself (pulled onto another
project). I'm using Antenna House Formatter 6. As for a sample I'll see what I
can do but am under restrictions as to what I might be able to provide. Will
have to wait till after the weekend though.

Mario

-----Original Message-----
From: Tony Graham [mailto:tgraham@xxxxxxxxxx]
Sent: Thursday, October 10, 2013 3:24 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] XSL-FO: keep-together.within-page and
keep-with-previous.within-page page break issue

On Thu, October 10, 2013 9:41 pm, Mario Madunic wrote:
> I'm trying to solve a current situation happening between two blocks.
> The first block has  @keep-together.within-page="always" and the
> following block has @keep-with-previous.within-page="always"
> @keep-together.within-page="always".
>
> What is happening is that the first block is following the second
> block onto a new page but there is ample room for both on the previous
> page and no discernible need for them to go onto a new page.
>
> My question is, is there a way of forcing the blocks to stay on the
> previous page?

Based on your description, it shouldn't be doing what it's doing.

What processor are you using?

Can you provide some sample markup that illustrates the problem?

Regards,


Tony Graham                                   tgraham@xxxxxxxxxx
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C

Current Thread