From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75915 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Should command `\setnumber' print number in text? Date: Tue, 1 May 2012 16:03:32 +0200 Message-ID: <18982FF6-D256-4030-AEA3-E15764F99F7D@googlemail.com> References: <20120429061323.GE1360@smoon> <103F7D0D-D91F-40F2-A9CE-65B00A427975@googlemail.com> <20120429122356.GI1360@smoon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335881017 2438 80.91.229.3 (1 May 2012 14:03:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 May 2012 14:03:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 01 16:03:36 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 1SPDfw-0000WC-BT for gctc-ntg-context-518@m.gmane.org; Tue, 01 May 2012 16:03:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1570B101F5; Tue, 1 May 2012 16:03:31 +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 QsxUZiO6r3iq; Tue, 1 May 2012 16:03:28 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E514101E9; Tue, 1 May 2012 16:03:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A47C9101E9 for ; Tue, 1 May 2012 16:03:27 +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 zFdhOEpBjP0p for ; Tue, 1 May 2012 16:03:26 +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 595C5101E8 for ; Tue, 1 May 2012 16:03:26 +0200 (CEST) Original-Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q41E3P5M022795 for ; Tue, 1 May 2012 16:03:25 +0200 Original-Received: by wgbds1 with SMTP id ds1so3388228wgb.2 for ; Tue, 01 May 2012 07:03:25 -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=scFezKxd7nG+WeWF9D3WI2TAuYkAYtANN6bmRNNLGbw=; b=H35hYJ13uXYlQT/A8z3pOPsBjTzRQW45eT6nXBOkuzjGefI+GKnVmMnAsuxVJ6YaGs PJ9zzsASOOJJYrOaBH8yzvnbsJ3mcFzH4Zt29Yo5dhdNclZy3A3MJE3YpYKlw5uK/Koa dlZwPEidji8DuyKISbTYg3T1Bbe4cw34/RaojkP0BRdGysISvtLwYSSQUQpak/NYE6fl yTknWYKIrh3NFIIKvYGRdAtnFEu/5XqTUa7UJKD7nQc0WjuKt7+943HfP3qGe4YklqmK XSMsun2cG/wluRsRDFKSYTG3Xpx7Hfri8QmB8ckRBYeu2h4H8QDlF4LNVpUfF1SItYPs SYcA== Original-Received: by 10.180.88.169 with SMTP id bh9mr5559190wib.5.1335881004949; Tue, 01 May 2012 07:03:24 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFB8DB.dip.t-dialin.net. [87.175.184.219]) by mx.google.com with ESMTPS id l5sm36701250wia.11.2012.05.01.07.03.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 May 2012 07:03:24 -0700 (PDT) In-Reply-To: <20120429122356.GI1360@smoon> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.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: 0TH4C3pyh - efd97a362c65 - 20120501 (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.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:75915 Archived-At: Am 29.04.2012 um 14:23 schrieb Vladimir Lomov: > Just to clarify question (before update wiki): is `\setnumber' command > obsolete and `\setupnumber' should be used instead? Both commands have a different purpose, with \setupnumber you can change the conversion of the counter (romannumerals, characters etc.), add a prefix (chapter, section =85 number) and let the counter be reset with each new sectionblock or heading. With \setnumber you can set the counter to a certain value but to fit the command in the normal syntax there was a change a while back. In MkII you set the number in braces \setnumber[=85]{} but for MkIV you use brackets to set the number \setnumber[=85][] > I'm also reading "dev-context", some time ago there were discussion about > `\definestructure...', in message `<4F737D98.5040600@wxs.nl>' Hans shown > several `\let' commands, from that I thought that `\setnumber' is ok to > use with `[]{}'. In MkIV the real names for the counter mechanism are - \definecounter - \setupcounter - \incrementcounter - \convertedcounter - =85 but for backward compatibility (the names are mentioned in manuals) the old names from MkII are synonyms with the same syntax. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________