You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Andreas Delmelle <an...@telenet.be> on 2008/06/13 16:51:40 UTC

Re: keep-together=

>----- Oorspronkelijk bericht -----
>Van: Jiri Tyr [mailto:jiri.tyr@cern.ch]
>Verzonden: vrijdag, juni 13, 2008 04:42 PM
>
>I have got a problem with keep-together="always" applied on fo:block. In 
>FOP 0.94 is everything OK, in FOP 0.95beta and FOP SVN it is broken. 
>Please see the attached example and try to create a PDF from it with 
>different versions of FOP with and without keep-together="always".

The problem is (most likely) the limited support for inline-keeps that has been added.
keep-together="always" expands to
keep-together.within-page="always"
keep-together.within-column="always"
keep-together.within-line="always"

You actually only need to keep the content together within the page (possibly in the column), so you need to set those components explicitly, so that keep-together.within-line defaults to "auto".

Cheers

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org