From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: two newbie questions (about conditional processing)
Date: Mon, 25 May 2009 09:12:32 +0200 [thread overview]
Message-ID: <4A1A44E0.8070000@wxs.nl> (raw)
In-Reply-To: <769ba7780905242355i51797dfck8ede3e61778df5cb@mail.gmail.com>
Zhichu Chen wrote:
> On Sun, May 24, 2009 at 6:36 PM, Hans Hagen <pragma@wxs.nl> wrote:
>> something like state=once would be handy but i'm not going to touch that
>> code till i'm redoing some page-* code in mkiv
> I don't get it, the "once" made me confused. Should that just be
> "affectedpage=current" or "range={1,2,15}" which will make more
> sense to me. I don't know the range for "once"
well, we have already
state=repeat: same background each upcoming page
state=start : enable background (calculate each time)
state=stop : disable backgrond
so we would have
state=once : enable background and after this page disable it
in this case 'once' is kind of "start" before and "stop" after \page
a range makes not much sense as one seldom knows the page in advance so
that would then be named pages; however, as we have 25 page areas it
would involve more testing then i currently want to do (the otr is
already not that fast)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-05-25 7:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-21 1:25 Yue Wang
2009-05-23 16:17 ` Yue Wang
2009-05-23 16:49 ` Zhichu Chen
2009-05-23 17:16 ` Yue Wang
2009-05-23 17:34 ` Wolfgang Schuster
2009-05-24 4:12 ` Zhichu Chen
2009-05-24 8:00 ` Wolfgang Schuster
2009-05-24 8:46 ` Zhichu Chen
2009-05-24 8:57 ` Wolfgang Schuster
2009-05-24 9:44 ` Zhichu Chen
2009-05-24 10:36 ` Hans Hagen
2009-05-25 6:55 ` Zhichu Chen
2009-05-25 7:12 ` Hans Hagen [this message]
2009-05-25 7:40 ` Zhichu Chen
2009-05-25 7:51 ` Wolfgang Schuster
2009-05-25 7:57 ` Hans Hagen
2009-05-25 7:30 ` Wolfgang Schuster
2009-05-25 7:42 ` Zhichu Chen
2009-05-25 7:49 ` Wolfgang Schuster
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=4A1A44E0.8070000@wxs.nl \
--to=pragma@wxs.nl \
--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).