From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87301 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setuppage is ignored Date: Thu, 8 May 2014 17:14:18 +0200 Message-ID: <62487BDE-560D-4EDC-8D5E-D194F5638106@gmail.com> References: <411DD7E2-4866-4CBC-8960-782D4A816FF0@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1399562091 2308 80.91.229.3 (8 May 2014 15:14:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2014 15:14:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 08 17:14:46 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WiQ21-0005hR-HO for gctc-ntg-context-518@m.gmane.org; Thu, 08 May 2014 17:14:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CA31101F7 for ; Thu, 8 May 2014 17:14:45 +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 THbz8jPtl6ht for ; Thu, 8 May 2014 17:14:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C1BBB10223 for ; Thu, 8 May 2014 17:14:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07DA6101E3 for ; Thu, 8 May 2014 17:14:37 +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 fHW56kMHKcZa for ; Thu, 8 May 2014 17:14:35 +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 83DCC101E2 for ; Thu, 8 May 2014 17:14:27 +0200 (CEST) Original-Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s48FEM63001842 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 8 May 2014 17:14:22 +0200 Original-Received: by mail-ee0-f49.google.com with SMTP id e53so1822350eek.8 for ; Thu, 08 May 2014 08:14:23 -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 :content-transfer-encoding:message-id:references:to; bh=05+u2Meu3Okl4RZBIgAcMTZyzJpThXkVIJU6016O9UE=; b=XxL4BzVWtCmBA7P2kGCpodOOJwc71YXj1rEnY9QuLlXG4CZtxsaxXzlvwnjK4iPqUR rV7J986PjTf0mPfiTapMkGkM87Px+J4UTTqE6D/fjBkEpFXbhkEOUkiXfapPIk5nnrO7 endu7hPUb8tSEKYFLp3ks47NGasDlLeUmg3DUZVmDbGboFewLpvxhFzo/F7X6ncuhIVy D2FJB32FTgeu4Lpk7209N9/AqvEUDPtmUsbxK+xLNYumvSptrJe34PbQF2t7L6MBIeFc ZtGGI09pvwEzDiTVw7YH1Nd3Bv5aAV6z1dRjNe8QmoWFMkGPscVdLv2xfdAf/j3IQOX/ OYuA== X-Received: by 10.14.209.195 with SMTP id s43mr6397436eeo.69.1399562063275; Thu, 08 May 2014 08:14:23 -0700 (PDT) Original-Received: from keima.localdomain (x2f2b443.dyn.telefonica.de. [2.242.180.67]) by mx.google.com with ESMTPSA id ci54sm4881363eeb.19.2014.05.08.08.14.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 May 2014 08:14:21 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1874) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LXremLe - eb1a20ad30a2 - 20140508 (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:87301 Archived-At: Am 08.05.2014 um 16:46 schrieb Thomas Friedrich : > Thanks Wolfgang, it does work now! > > I didn't now that the counter would be called 'userpage'. It thought > I had to set the page-counter (\setconter[page][1]), as I was using > > \setuppagenumber[numberconversion=numbers,state=start] > > and not > > \setupuserpagenumber[numberconversion=numbers,state=start] > > It seems as if both commands have the same effect. Are these synonyms? > > Is there a way for an end-user (like me) to infer from a command as > \setuppagenumber that the corresponding counter is called "userpage"? > I am just asking so I may get an understanding of how ConTeXt works, > and I don't have to bother the list with so many questions. ConTeXt uses three different counters for the pages of the document: 1. The realpage counter is used for internal references to pages, this counter should never be reset because it is needed to have unique numbers for each page. 2. The userpage counter which is shown in the header, TOC etc. and you can reset its value at the begin of a new sectionblock etc. 3. The subpage counter can be used when you want to divide a certain sectionblock into even small parts to have local page numbers for a certain part of your document. Each of these three counters have a command for the setup: - \setuprealpagenumber - \setupuserpagenumber - \setupsubpagenumber The old \setuppagenumber command is a synonym for the \setupuserpagenumber command because this is the counter you have to change for your documents. 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 ___________________________________________________________________________________