Hello, Kurt.
Tuesday, April 26, 2005 at 10:54:27 AM you wrote:
KS> Hi Neha,
KS>
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>
KS> rgrds
KS>
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> kurt.spescha@consor.ch
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: owner-xep-support@renderx.com
KS> [mailto:owner-xep-support@renderx.com] 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>
KS> I have a problem with keeping the blocks of text together
KS> in one page. Our requirement is like this.
KS>
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>
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>
KS> Thanks,
KS> Neha
KS>
KS> __________________________________________________
KS> Do You Yahoo!?
KS> Tired of spam? Yahoo! Mail has the best spam protection around
KS> http://mail.yahoo.com
-- Best regards, Michael Sulyaev mailto:msulyaev@renderx.com RenderX ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.htmlReceived 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