ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <bourbaki@bigfoot.com>
Cc: ntg-context@ntg.nl
Subject: Re[2]: Conditional text
Date: Fri, 8 Mar 2002 12:15:25 +0100	[thread overview]
Message-ID: <1781530217.20020308121525@bigfoot.com> (raw)
In-Reply-To: <5.1.0.14.1.20020307235203.04208490@server-1>

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	other threads:[~2002-03-08 11:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07 18:49 Giuseppe Bilotta
2002-03-07 22:54 ` Hans Hagen
2002-03-08 11:15   ` Giuseppe Bilotta [this message]
2002-03-08 13:23     ` Re[3]: " Giuseppe Bilotta
2002-03-08 15:35       ` Hans Hagen
2002-03-08 16:46         ` Re[4]: " Giuseppe Bilotta
2002-03-11  0:21   ` Daniel Pittman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1781530217.20020308121525@bigfoot.com \
    --to=bourbaki@bigfoot.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).