On Thursday 20 September 2007 15:52, Pascal Sancho wrote:
> Hi,
> What you need here are integer values for keep-together and
> keep-with-*. Unfortunately, FOP doesn't implement this yet.
>
> As a workaround, you can approximatively evaluate the text length and
> choose to keep or not...
>
> Pascal
>
> -------- Message d'origine--------
> De: Lewis, Eric [mailto:[EMAIL PROTECTED]
> Date: jeu. 20/09/2007 08:11
>
>
>
> Yes, but the problem there is: If I do that, the long body text will
> cause an overflow, and half of my text ends up in nirvana ;-)
>
May be I misunderstand your problem but the following appears to work
fine for me:
....
<fo:block keep-with-next.within-page="always">Title</fo:block>
<fo:block>some long paragraph... </block>
....
The 'Title' appears on the same page as the long paragraph and if the
paragraph is longer than the page it flows into the next without any
loss.
Manuel
> Best regards,
> Eric
>
> ________________________________
<snip/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]