From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77951 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to know in which page I'm? Date: Mon, 20 Aug 2012 23:09:11 +0200 Message-ID: <5AA83173-6C19-4706-9371-20E3E9C7E30A@gmail.com> References: <5032A0FE.20109@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345496964 10519 80.91.229.3 (20 Aug 2012 21:09:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2012 21:09:24 +0000 (UTC) Cc: Xan To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 20 23:09:24 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 1T3ZDw-0003Hp-9S for gctc-ntg-context-518@m.gmane.org; Mon, 20 Aug 2012 23:09:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3986101F2; Mon, 20 Aug 2012 23:09:21 +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 eXDoQjOVjMbh; Mon, 20 Aug 2012 23:09:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id F3522101E0; Mon, 20 Aug 2012 23:09:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1C6B101E0 for ; Mon, 20 Aug 2012 23:09:18 +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 aSkc+TO4CNSp for ; Mon, 20 Aug 2012 23:09:14 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 39C17101DF for ; Mon, 20 Aug 2012 23:09:14 +0200 (CEST) Original-Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7KL9C5x020236 for ; Mon, 20 Aug 2012 23:09:13 +0200 Original-Received: by wibhq4 with SMTP id hq4so3304036wib.2 for ; Mon, 20 Aug 2012 14:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=rg74CkVTpsS3Cy8RC+bajTXZ4eaj2KMXj9aaM99qZhc=; b=TK8bXfHdgSNY/4l/0boaeReio1uHv8/PlBWKD1lU3evi4prkz0j1Uah65CT79UR8jI 0zM2xerVkZBg/8DlPyOpYTelONJw9k2M65TBT32pt2GbuSBnruZWr9jJvJ8tnkdLb5zz VGM9ZGETO8bYodO29nu6CT6RWyhdO60ROGyKpoNRzbxeVPOW30+H4sjKj0iSNfSQa65S 6BI17gWD9VTDaprRYHwrEnUFT86K+uikqCYJHaEkt70dCsnJzRG30InYP8CTb8KVPRI1 5e6u/Yg+BzKjvOF6fiEAsS319X3WnCJ8IgeBcF4kPgCK+bmCOXgHcLMMFxkqt0D5dETF Awbg== Original-Received: by 10.216.59.7 with SMTP id r7mr8467487wec.19.1345496952612; Mon, 20 Aug 2012 14:09:12 -0700 (PDT) Original-Received: from [192.168.2.36] (p54BAF3E7.dip.t-dialin.net. [84.186.243.231]) by mx.google.com with ESMTPS id fb20sm44440741wid.1.2012.08.20.14.09.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 14:09:11 -0700 (PDT) In-Reply-To: <5032A0FE.20109@telefonica.net> X-Mailer: Apple Mail (2.1485) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.179; 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: 07HN99cCw - acf69b60415f - 20120820 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:77951 Archived-At: Am 20.08.2012 um 22:41 schrieb Xan : > Hi, > > I want to print a message depending if the page is even or odd. In pseudocode: > > \if \inpage.\iseven { > This page is even > } > \else { > This page is odd > } > > How can I do that in ConTeXt? http://www.ntg.nl/pipermail/ntg-context/2012/067632.html 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 ___________________________________________________________________________________