Hi Jeremias,

> <block keep-together.within-column="1">
>  <block>I use 30% height</block>
>  <block>I use 30% height</block>
>  <block>I use 50% height</block>
> </block>
> In this case, the 50% block is moved to the next 
> page if the layout engine doesn't find a better 
> solution, for example by keeping the first block 
> on the previous page and keeping the latter two 
> together. (all assuming those nested blocks are 
> unbreakable for example by carrying a
> keep-together.within-column="always")

So, without a keep-together.within-column, the sequence would be:
most preferable break: after third block. (impossible, since 110%)
less preferable: after second block. (possible, if blocks before take <= 40%)
even less preferable: after first block. (possible, if blocks before take 41% 
to 70%)
even less preferable: before first block. (possible, if blocks before take >71% 
)

=> Meaning: fit as much as possible on the previous page

So, with keep-together.within-column="1", the sequence would be (from your 
description):
most preferable break: after third block. (impossible, since 110%)
less preferable: after first block. (possible, if blocks before take <= 70%)
even less preferable: after second block. ( would only happen if block2+block3 
would use more than 100% and blocks before block1 would take <=40%)
even less preferable: before first block. (possible, if blocks before take >71% 
)

I don't understand why. 

Of course my example was buggy, I meant: keep-with-next, not keep-together. 
What I was trying to say is: keep-with-next if in any way possible. Separate 
from next ONLY if both blocks together would never ever fit on a page, since 
they take more than 100%.

<block> I use 30% height</block>
<block keep-with-next="1"> I use 30% height </block>
<block>I use 50% height</block>

would break before the second block, but

<block> I use 30% height</block>
<block keep-with-next="1"> I use 30% height </block>
<block>I use 80% height</block>

would break after the second block. 

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 

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

Reply via email to