From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75475 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: why is \getnumber an undefined control sequence? Date: Mon, 2 Apr 2012 18:37:01 +0200 Message-ID: <5636650C-0233-48F7-A5E8-AD57AC1963D6@googlemail.com> References: <4F79BBC3.2060203@uni-bonn.de> <4F79BE31.5000300@wxs.nl> <4F79C3A3.8040708@uni-bonn.de> 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333384639 21717 80.91.229.3 (2 Apr 2012 16:37:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2012 16:37:19 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen To: "Thomas A. Schmitz" Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 02 18:37:17 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 1SEkFm-00081e-C9 for gctc-ntg-context-518@m.gmane.org; Mon, 02 Apr 2012 18:37:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4195101F8; Mon, 2 Apr 2012 18:37:13 +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 IjgtMr12C7ws; Mon, 2 Apr 2012 18:37:09 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC154101E2; Mon, 2 Apr 2012 18:37:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E447F10194 for ; Mon, 2 Apr 2012 18:37:07 +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 LAQQP6ntaV2i for ; Mon, 2 Apr 2012 18:37:07 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 309E0101E2 for ; Mon, 2 Apr 2012 18:37:07 +0200 (CEST) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q32Gb5Gh025770 for ; Mon, 2 Apr 2012 18:37:05 +0200 Original-Received: by eeke53 with SMTP id e53so1056577eek.14 for ; Mon, 02 Apr 2012 09:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=yGWYM37FCsnNyLFIbF/PKH5MbxTg1UBMG3NgDSqumSU=; b=dHXTAG/iR13BczTuPBfCql+uCD8cNLiE3AjJg4w+y7kiKALigraFz8mJArdxRpVtxI gYzRuml9HrIV5hXsr5ubaowlo3lkjeQ0MOPEFYpm0GfBUij17zScPlnyliosXl0Kgxqo PdllAgLV/AyjaJkpkvEMWX1n26gyEZXkfMQNRYl173h/TxEBdNpNZBuUowtkSkUYVzd9 tn+iFNDzmKQHLAp573c/zbJjcOrnpaLFwQ/9dgREgt0BEmYeDgB6MOoctLCb0Pp61B1f Uekva4Lzp3HS4EwRP7uSeRptrFjG3xaokysflbyEFD0d+zRTPAkRrniTY9ryKvsl1SnF sEWw== Original-Received: by 10.14.96.6 with SMTP id q6mr1485004eef.6.1333384625155; Mon, 02 Apr 2012 09:37:05 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFC110.dip.t-dialin.net. [87.175.193.16]) by mx.google.com with ESMTPS id z47sm64566470een.5.2012.04.02.09.37.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Apr 2012 09:37:04 -0700 (PDT) In-Reply-To: <4F79C3A3.8040708@uni-bonn.de> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aGR4B5xT - 31925050cec2 - 20120402 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:75475 Archived-At: Am 02.04.2012 um 17:20 schrieb Thomas A. Schmitz: > On 04/02/2012 05:15 PM, Wolfgang Schuster wrote: >> The problem are these two synonyms: >> >> \let \getnumber \getcounter % [name] >> \let \convertednumber \getcounter % [name] >> >> There is a \convertedcounter but no \getcounter. >> >> @Thomas: You can \rawcounter to print only the numeric value of the counter or \convertedcounter for a formatted form of the counter (you can apply a conversion, e.g. romannumerals or add a prefix, e.g. the current chapter or section number). >> >> Wolfgang > > Ah, thank you Wolfgang! \rawcounter is sufficient for me in my real-life case, but I assume you will want to add \getcounter? (And are the number synonyms here to stay, or will they be deleted?) There is no need for a \getcounter command, you can fix it by making both synonyms for the \convertedcounter command. \let\getnumber \convertedcounter \let\convertednumber\convertedcounter 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 ___________________________________________________________________________________