From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62032 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: realpage in register Date: Tue, 28 Sep 2010 13:09:20 +0200 Message-ID: References: <2989F354-0EB2-4F9E-A4AF-1A1D58AD33FC@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285672181 23509 80.91.229.12 (28 Sep 2010 11:09:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2010 11:09:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 28 13:09:40 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Y43-0003mM-Rs for gctc-ntg-context-518@m.gmane.org; Tue, 28 Sep 2010 13:09:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D9EDCA728; Tue, 28 Sep 2010 13:09:38 +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 NqiQu3kZ9lW5; Tue, 28 Sep 2010 13:09:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7F7ACA6E2; Tue, 28 Sep 2010 13:09:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 448A7CA6E2 for ; Tue, 28 Sep 2010 13:09:34 +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 Z93+JSzxQUfP for ; Tue, 28 Sep 2010 13:09:23 +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 04081CA6E0 for ; Tue, 28 Sep 2010 13:09:23 +0200 (CEST) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8SB9LuN003341 for ; Tue, 28 Sep 2010 13:09:22 +0200 Original-Received: by qyk36 with SMTP id 36so2683230qyk.14 for ; Tue, 28 Sep 2010 04:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=72boG+Xv8/xs8j4bBeg1QRKalHa5A5szdE7nlhFeuxk=; b=I8JtXs6zxtGdQM/ULio0zyNNf76D+gAfPZL0+IV5mneGzDPyrW6Qt9ztRb4fuvfuq6 2xS7GVMMxhvhv5IHAVvSpWQiZ/H7nLAhpUFykQ4pOtrg+/+I588if4LnaF1zGYl94DXq imk4vVn49W3Yu4F1uYpsM8unUi1+KH8F/R/sE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=U2eVubrqyW5d11t6xRHZVWZrYJYbphG6075sHWE10Yhgm6CIVqHMHrQHhbW24GjcNO xUJipc0NRj1UX3HV5nZQpcTiEjzi71Ijr1cgLbaZqm1UmumXUunJHZ13DAlAfZzy4atW R0p84mQgZGMGuAg1FhM55NgXLWWBsBSWB3lPk= Original-Received: by 10.229.217.149 with SMTP id hm21mr6857775qcb.121.1285672161093; Tue, 28 Sep 2010 04:09:21 -0700 (PDT) Original-Received: by 10.229.219.144 with HTTP; Tue, 28 Sep 2010 04:09:20 -0700 (PDT) In-Reply-To: <2989F354-0EB2-4F9E-A4AF-1A1D58AD33FC@st.estfiles.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; 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: 0bDcb9mgI - 336810bd0d5a - 20100928 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:62032 Archived-At: On Tue, Sep 28, 2010 at 12:37 PM, Steffen Wolfrum wrote: > Hi, > > I want to set up a register that shows the number of userpage and the number of realpage (used in pdf numbering). > > I was thinking of something like ... > > \def\BothPageNumbers#1 {#1 (\realpageno[#1])} > > \setupregister[index][pagecommand=\BothPageNumbers] > > > ... only, I don't know how to address the corresponding realpage number ;o( > > > Any idea? strc-pag.mkiv:\def\realfolio{\the\realpageno} strc-pag.mkiv:\def\userfolio{\the\userpageno} strc-pag.mkiv:\def\subfolio {\the\subpageno } just an idea, btw -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________