From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76917 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: On an odd page? Date: Tue, 12 Jun 2012 18:53:45 +0200 Message-ID: <64D86033-EFD2-4E31-8545-2D794DEF1D38@googlemail.com> References: <4FD7730E.5010907@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339520048 30547 80.91.229.3 (12 Jun 2012 16:54:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2012 16:54:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 12 18:54:05 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 1SeULr-0006rc-No for gctc-ntg-context-518@m.gmane.org; Tue, 12 Jun 2012 18:53:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF2CE101E6; Tue, 12 Jun 2012 18:53:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RnpivOWB3UPe; Tue, 12 Jun 2012 18:53:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59581101E2; Tue, 12 Jun 2012 18:53:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35469101E2 for ; Tue, 12 Jun 2012 18:53:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ezkzkIU4mkDF for ; Tue, 12 Jun 2012 18:53:51 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 6F836101DF for ; Tue, 12 Jun 2012 18:53:51 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5CGroKK017096 for ; Tue, 12 Jun 2012 18:53:50 +0200 Original-Received: by bkcjm19 with SMTP id jm19so6232203bkc.14 for ; Tue, 12 Jun 2012 09:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=dOg2rYOT9T/NPiBHRFlf92RnlMU0LCF+Ejk2BKWgPvc=; b=amTjRTYWXhKGkTVK1SK1tX3CFeUMg4vACdbniExiUijWWPZVvsZMgC/2er36d4jktk bI8dIoIo9XvGgENwC1U1QkqeAZZpZpgr2xu3pTerfPHPc7FwcdQt/+pjLh2TH1pAyuzi Sjs7ma05kYzYVOXn3SYMwaMH9RWfCG0Civy+1/pDen4Z2VsnYOVTmO48feD5zmIR8dCy KorJ6bxtbDZ5nV0Re24QnJ11uoEN7bJoUjmHo9pDy96zZ9J4+EysvaVoLKKZaAfjEtUS +n7Q6wkx6xsLjIcmz2D4lL+sR6U2Wc6IL8UnCfcS77m46lQTLWN97ROTvSacz9jDoW9N hCMQ== Original-Received: by 10.204.151.130 with SMTP id c2mr12388983bkw.125.1339520030575; Tue, 12 Jun 2012 09:53:50 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFBE3D.dip.t-dialin.net. [87.175.190.61]) by mx.google.com with ESMTPS id n17sm21225761bkw.5.2012.06.12.09.53.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jun 2012 09:53:48 -0700 (PDT) In-Reply-To: <4FD7730E.5010907@gmail.com> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NHlsRO0d - 347d54d7d166 - 20120612 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76917 Archived-At: Am 12.06.2012 um 18:49 schrieb Bill Meahan: > I must be having a bad day since I can't find the answer to this simple question on the wiki. I'm sure it's me but... > > How do I test if I am on an odd or even page? I need the equivalent of: > PSUEDO COMMAND > \doifoddpageelse{what to do on oddpage)(what to do on even page} > > This is _not_ in a header, BTW \define\MyCommand {\signalrightpage\doifrightpageelse{{\tttf RIGHT PAGE!}}{{\tttf LEFT Page!}}} \setuppagenumbering[alternative=doublesided] \starttext \dorecurse{10}{\MyCommand\page} \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________