Re: AW: [xep-support] Problem with keep-together properties

From: Michael Sulyaev <>
Date: Tue Apr 26 2005 - 05:25:17 PDT

Hello, Kurt.

Tuesday, April 26, 2005 at 10:54:27 AM you wrote:

KS> Hi Neha,
KS> We have done a lot of effort on keep-together. My advice is
KS> to put a table around the the block which should be kept together
KS> (with one column, one cell), giving the column the attribute
KS> keep-together.within-column="always". This may sound like a
KS> workaround, but is working fine and easy to understand.

I believe this is not a good style to wrap everything you want to keep
together in a single-cell table. Exactly the same result can be
achieved by wrapping the contents in a fo:block with
keep-together.within-page="always". Tables are more
resource consumptive than blocks, even nested. You will certainly feel
the difference on large documents. Avoid tables whenever you don't want
to draw a table.

KS> The other ways may also work, as ex. keep-with-next.within-page="always", it
KS> really does.

Again, this is makes no difference with the above approach, except that
it takes more keystrokes.

KS> Normally next is the next block, so if you only have
KS> blocks, you could use that too. But it's not always so clear
KS> which the 'next' object really is.
KS> rgrds
KS> Kurt Spescha
KS> Consor AG, CH-8006 Zürich
KS> +41 (0)44 368 35 44
KS> +41 (0)76 560 66 89
KS> ************ BITTE BEACHTEN ************
KS> Diese Nachricht (wie auch allfällige Anhänge dazu)
KS> beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte
KS> Daten oder Informationen. Zum Empfang derselben ist (sind)
KS> ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie
KS> diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich
KS> gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören
KS> und die absendende Person umgehend zu benachrichtigen. Vielen Dank
KS> für Ihre Hilfe.


KS> -----Ursprüngliche Nachricht-----
KS> Von:
KS> [] Im Auftrag von Neha Parab
KS> Gesendet: Montag, 25. April 2005 19:54
KS> An: XEP support
KS> Betreff: [xep-support] Problem with keep-together properties

KS> Hi All,
KS> I have a problem with  keeping the blocks of text together
KS> in one page. Our requirement is like this.
KS> "If the text block exceed one page, and there is space to
KS> start it on one page and complete it on the next page, start
KS> the text on the first page and continue on the next page,
KS> otherwise start the text on a next page (When text can fit in
KS> next page and not in the previous page)."
KS> Each block contain some data which need to be grouped
KS> together. I tried keep-together.within-page property, but this
KS> property is not giving me the desired results.
KS> Thanks,
KS> Neha
KS> __________________________________________________
KS> Do You Yahoo!?
KS> Tired of spam? Yahoo! Mail has the best spam protection around


Best regards,
 Michael Sulyaev                
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Tue Apr 26 06:16:48 2005

This archive was generated by hypermail 2.1.8 : Tue Apr 26 2005 - 06:16:49 PDT