From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78145 Path: news.gmane.org!not-for-mail From: stdin | Alexandre Leray Newsgroups: gmane.comp.tex.context Subject: odd and even test: incorrect behavior on the first two lines Date: Fri, 07 Sep 2012 01:04:12 +0200 Message-ID: <50492BEC.2070006@stdin.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2032261916==" X-Trace: ger.gmane.org 1346972143 21719 80.91.229.3 (6 Sep 2012 22:55:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2012 22:55:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 07 00:55:45 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9kz8-00069g-U1 for gctc-ntg-context-518@m.gmane.org; Fri, 07 Sep 2012 00:55:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 339E7101F4; Fri, 7 Sep 2012 00:55:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AnqC6kJzflXv; Fri, 7 Sep 2012 00:55:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2C299101E5; Fri, 7 Sep 2012 00:55:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A8F1101E5 for ; Fri, 7 Sep 2012 00:55:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oERggDDswJcw for ; Fri, 7 Sep 2012 00:55:31 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 3F35B101E0 for ; Fri, 7 Sep 2012 00:55:31 +0200 (CEST) Original-Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q86MtUJL019319 for ; Fri, 7 Sep 2012 00:55:30 +0200 X-Originating-IP: 217.70.178.141 Original-Received: from mfilter13-d.gandi.net (mfilter13-d.gandi.net [217.70.178.141]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 7D4D8172087 for ; Fri, 7 Sep 2012 00:54:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter13-d.gandi.net Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter13-d.gandi.net (mfilter13-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id dDh+ohVjw-A5 for ; Fri, 7 Sep 2012 00:54:48 +0200 (CEST) X-Originating-IP: 83.101.33.62 Original-Received: from [192.168.178.35] (ip-83-101-33-62.customer.schedom-europe.net [83.101.33.62]) (Authenticated sender: alexandre@stdin.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id EFEC4172080 for ; Fri, 7 Sep 2012 00:54:47 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120828 Thunderbird/15.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.70.183.196; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06HTWTulr - 491fce83841e - 20120907 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78145 Archived-At: This is a multi-part message in MIME format. --===============2032261916== Content-Type: multipart/alternative; boundary="------------030103060005070500060003" This is a multi-part message in MIME format. --------------030103060005070500060003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm trying to make the content of an environment behave differently weither it appears on a right page or on a left page. It works mainly, except that with the following code, from the second page, the two first lines of subsequent pages don't show the expected behavior. \setuppagenumbering[alternative=doublesided] \definestartstop[foo][ before={\doifrightpageelse{(right)}{(left)}}, ] \starttext \dorecurse{100}{ \startfoo hello world\par \stopfoo } \stoptext Is it a known problem? How can one fix this? Thanks, Alex -- Alexandre Leray media & graphic design http://stdin.fr | http://osp.constantvzw.org/ rue Gallaitstraat 80 1030 Bruxelles +32 (0)4 87 04 70 30 --------------030103060005070500060003 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I'm trying to make the content of an environment behave differently weither it appears on a right page or on a left page. It works mainly, except that with the following code, from the second page, the two first lines of subsequent pages don't show the expected behavior.

\setuppagenumbering[alternative=doublesided]
\definestartstop[foo][
    before={\doifrightpageelse{(right)}{(left)}},
]
\starttext
    \dorecurse{100}{
        \startfoo
        hello world\par
        \stopfoo
    }
\stoptext

Is it a known problem? How can one fix this?

Thanks,

Alex

-- 
Alexandre Leray
media & graphic design
http://stdin.fr | http://osp.constantvzw.org/
rue Gallaitstraat 80
1030 Bruxelles 
+32 (0)4 87 04 70 30
--------------030103060005070500060003-- --===============2032261916== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2032261916==--