Thursday, March 07, 2002 Hans Hagen wrote:

HH> At 07:49 PM 3/7/2002 +0100, Giuseppe Bilotta wrote:

>>I'd like to separate two blocks of text with some stuff which
>>depending on wether the two blocks are on the same page or not.

[snip]

HH> Ah, another example of italian typesetting:

Well, I don't know if that' a typographical rule here in Italy
but, yes, I've seen it in Italian books. :-)

HH> \setuplayout[height=12cm]

HH> \starttext

HH> \xypos{b1}\input tufte\xypos{e1}

HH> \doifpositionsonsamepageelse{e1,b2}{yes}{no}

HH> \xypos{b2}\input tufte\xypos{e2}

HH> \doifpositionsonsamepageelse{e2,b3}{yes}{no}

HH> \xypos{b3}\input tufte\xypos{e3} \page

HH> \doifpositionsonsamepageelse{e3,b4}{yes}{no}

HH> \xypos{b4}\input tufte\xypos{e4}

HH> \stoptext

HH> Unfortunately i found out that there is a circular call in the macro (will 
HH> send you the patch)

Thank you very much. I'll give it a try.

--
Giuseppe "Oblomov" Bilotta

Reply via email to