Hi Manuel Yes, that's how I solved the problem in the end. But my XSL-FO looked different, since it didn't contain explicit blocks for the title (just some inline formatting).
Best regards, Eric -----Ursprüngliche Nachricht----- Von: Manuel Mall [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. September 2007 10:32 An: fop-users@xmlgraphics.apache.org Betreff: Re: Page breaks and keeping blocks together 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]