Hi Brad,

keep-together="always" doesn't work, because it's a short for three keeps, 
including keep-together.within-line, which you most likely don't want. 
Keep-together.within-column is the correct way. But "always" is too strong. Try 
keep-together.within-column="5". Numbers are not completely supported, but they 
are stronger than "none" and weaker than a page break. Works fine in my code.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de


-----Ursprüngliche Nachricht-----
Von: Brad Smith [mailto:usernamenum...@gmail.com]
Gesendet: Dienstag, 25. Mai 2010 23:05
An: fop-users@xmlgraphics.apache.org
Betreff: Re: keep-together.within-column with content > 1 page

I've tried both. Same results either way.

--Brad

On Tue, May 25, 2010 at 3:32 PM, Amick, Eric <eric.am...@mail.house.gov> wrote:
> Are you setting just keep-together.within-column? In my experience, the
> unqualified keep-together (and unqualified keeps in general, for that
> matter) rarely works successfully.
>
> Eric Amick   Systems Engineer II
> Legislative Computer Systems
>
>> -----Original Message-----
>> From: Brad Smith [mailto:usernamenum...@gmail.com]
>> Sent: Tuesday, May 25, 2010 15:03
>> To: fop-users@xmlgraphics.apache.org
>> Subject: keep-together.within-column with content > 1 page
>>
>> Hello,
>>
>> I have certain elements in my document which I would like to keep
>> together across pages as much as possible. I've been using the
>> keep-together (and keep-together.within-column) property for this, and
>> usually it works as expected: if printing the item on the current page
>> would cause it to spill over, a page-break is inserted before it.
>> Great. However, there are problems if the item's content is greater
>> than one page in length. In that case, it *still* stays on the same
>> page, even though that means all the content writing over its self,
>> resulting in gibberish.
>>
>> Is there a way to have a middle-ground? What I really want is "start
>> on a fresh page if it will keep the item from breaking, then keep
>> together /if possible/".
>>
>> Thanks in advance for any help people can offer.
>> --Brad
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>



--
~ Second Shift: An original, serialized audio adventure ~
            http://www.secondshiftpodcast.com

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


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

Reply via email to