From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76736 Path: news.gmane.org!not-for-mail From: Pavel Dohnal Newsgroups: gmane.comp.tex.context Subject: even odd page condition Date: Wed, 6 Jun 2012 17:13:26 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338995639 22163 80.91.229.3 (6 Jun 2012 15:13:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2012 15:13:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 06 17:13:58 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 1ScHvp-0006Xi-Tt for gctc-ntg-context-518@m.gmane.org; Wed, 06 Jun 2012 17:13:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3BAD101E3; Wed, 6 Jun 2012 17:13:56 +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 YayYMF9cnjE4; Wed, 6 Jun 2012 17:13:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10DFE101DF; Wed, 6 Jun 2012 17:13:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61875101DF for ; Wed, 6 Jun 2012 17:13:53 +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 abcnRWO40F2T for ; Wed, 6 Jun 2012 17:13:51 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id AC703101DD for ; Wed, 6 Jun 2012 17:13:51 +0200 (CEST) Original-Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q56FDmQT003291 for ; Wed, 6 Jun 2012 17:13:49 +0200 Original-Received: by qcsd16 with SMTP id d16so4348774qcs.14 for ; Wed, 06 Jun 2012 08:13:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=UVFRvaenKsbgEAsxC37ZPMAUXj6VnKxbM7egkpiyduQ=; b=Dn760mOEw5ozzabAoPH+QuFP+AqY6S265uRdB2GqCBqKNjDjMkiBl/j31mOieB2y72 dk1Cg6RnEB+hbLPruMG0RLs2jxNDBPopjDBNUs0IR0XwJKHR8fOYda+D1Z+JHpoW1VP4 4hIq7yjeIeEdMq2/sJVmliYkStYRegFA+/4cFaSu+FbvwHIIVto2qZcpTW9qtUHP/B1y IeNrn2a0gTGsB8OCsNFosIpAZ7bCQ4fBuy3MyEI3TsjNZiX37zcr5Pvn2mdZQeEo+Ekl 5MOdHzdU9enatRKZSnPjO+HOOWJr/6zOXr9CNCHVO3j9SjYCCKS4yXgoreG+x5RabB2X owpA== Original-Received: by 10.60.2.131 with SMTP id 3mr20681710oeu.59.1338995627311; Wed, 06 Jun 2012 08:13:47 -0700 (PDT) Original-Received: by 10.76.102.83 with HTTP; Wed, 6 Jun 2012 08:13:26 -0700 (PDT) X-Originating-IP: [85.207.54.198] X-Gm-Message-State: ALoCoQmE38E+mzj6YdnJuzClGbhuUJop5SkjwYi5CUs4BfCR2nbgUWw9mp8ScPV/0mn23cTDHCTL X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; 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: 0THj3dMqO - f758ead811f5 - 20120606 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:76736 Archived-At: Hello, is it possible to find if you=92re on an odd or an even page in context? I want to do something like this: \def\makemytext#1{ %if page is even \rightaligned{#1} %else \leftaligned{#1} } Thanks for the answer. Pavel Dohnal ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________