RE: keep-together.within-page EXCEPT if it is too big ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

RE: keep-together.within-page EXCEPT if it is too big ?

Thanks Daniel for your suggestion ! Yes, I tried that, but it doesn't seem to have any effect.
As a matter of fact, the faq says that numbers are not implemented at all :-( )-:

It talks about 1.0, but I looked through the release notes and the topic does not seem to be addressed.

So I'd be happy to hear about any other ideas.

Thanks again,


De : Daniel Norberg [mailto:[hidden email]]
Envoyé : lundi 25 juin 2018 13:01
À : [hidden email]
Objet : Re: keep-together.within-page EXCEPT if it is to big ?

Hi, have you tried to replace "always" with an integer? Though FOP claims it has "minimal support for integer values it might be worth trying.



Excosoft . Daniel Norberg . Information Manager
Dag Hammarskjölds väg 26, SE-752 37 UPPSALA
Cell +46 (0)76-199 31 85
Email mailto:[hidden email]

Our main products: Skribenta CCMS, Delivery Manager, Finder
Learn more about us on our website:
From: KEILHOLZ Werner <mailto:[hidden email]>
Sent: Monday, June 25, 2018 11:59:41 AM
To: mailto:[hidden email]
Subject: keep-together.within-page EXCEPT if it is to big ?

We are using
to implement a block of framed text, because we don't want the frame to be split over 2 pages - except if the frame is bigger than a page. Is there a way to implement the 'except' part?
Here's the solution that works nicely as long as the framed text is smaller than the page size:

<xsl:template match="framed">
    <fo:block margin-bottom="15px"
        <xsl:apply-templates select="node()"/>

The problem is that if the content of the framed element is bigger than the page size, the overflow is lost.


To unsubscribe, e-mail: mailto:[hidden email]
For additional commands, e-mail: mailto:[hidden email]

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]