From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75901 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: Should command `\setnumber' print number in text? Date: Sun, 29 Apr 2012 21:23:56 +0900 Message-ID: <20120429122356.GI1360@smoon> References: <20120429061323.GE1360@smoon> <103F7D0D-D91F-40F2-A9CE-65B00A427975@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335702248 22846 80.91.229.3 (29 Apr 2012 12:24:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2012 12:24:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 29 14:24:07 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 1SOTAc-0002ha-QG for gctc-ntg-context-518@m.gmane.org; Sun, 29 Apr 2012 14:24:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0893A101EB; Sun, 29 Apr 2012 14:24:06 +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 YdpsWFLwQ+qR; Sun, 29 Apr 2012 14:24:04 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 743E2101E8; Sun, 29 Apr 2012 14:24:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 604C5101E8 for ; Sun, 29 Apr 2012 14:24:03 +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 dvy9lgXnyDVe for ; Sun, 29 Apr 2012 14:24:02 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 47B7A101E6 for ; Sun, 29 Apr 2012 14:24:02 +0200 (CEST) Original-Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3TCO0Ee008521 for ; Sun, 29 Apr 2012 14:24:00 +0200 Original-Received: by lbjn8 with SMTP id n8so1380001lbj.14 for ; Sun, 29 Apr 2012 05:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=7Pf9yGjCQUZmmzbPOJMjp0pdfqPXpAwUWc9W0XclbkA=; b=m/TNDw37Ymoy9WK2OuVxAX5vGyf1LBkhSiqyGedMLY9y8JpplVqEbqAf4zHOocmzEk oSCCvZVN1eEHYCnvz4R/SH4AmvBwPAK1nHQXMPv0qQiQFMOWJNbPgvO75iiOCGtTWd7d bUACJiPA8trId/VIXjF3gOWj7hYXntcTc/kM6sGKDAcLNmyL02CjlnbGAnxmNd6tXJev PkdVXgdzOVkWzgSxz938d6rPjuKw8boe8zDMdTRPek9rOA1yILvvNAJACfY9If6OcpRW 7IfYxwHr4EyXVQaY0NDFaaM6QcYDHT9F+mXRi3BAJJWXeLl9az4TPwcIiKkGRfGov3iv Mqxw== Original-Received: by 10.152.146.163 with SMTP id td3mr3548698lab.25.1335702240176; Sun, 29 Apr 2012 05:24:00 -0700 (PDT) Original-Received: from smoon ([141.105.33.55]) by mx.google.com with ESMTPS id pj20sm13120923lab.13.2012.04.29.05.23.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Apr 2012 05:23:59 -0700 (PDT) Mail-Followup-To: Vladimir Lomov , ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <103F7D0D-D91F-40F2-A9CE-65B00A427975@googlemail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.217.169; 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: 0QH3Mo0NC - 1eb32243feca - 20120429 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:75901 Archived-At: Hello Wolfgang, ** Wolfgang Schuster [2012-04-29 09:16:38 +0200]: > Am 29.04.2012 um 08:13 schrieb Vladimir Lomov: >> Hello, >> I faced with following behavior of `\setnumber' command, consider the >> example: >> >> \setupbodyfont[computer-modern-unicode,12pt] >> \definenumber[course] >> \setnumber[course]{3} >> \starttext >> Hello. >> \stoptext >> >> Processing by context (ConTeXt ver: 2012.04.26 22:27 MKIV fmt: >> 2012.4.28 int: english/english) I get PDF with number 3 typeset on line >> above Hello. >> Is it expected behavior? If yes, how can I increase/set value for >> "number"-command (counter) then? >> P.S. I tried with commented `\setupbodyfont', all is ok. Is it mean that >> command is deprecated? > There was a change in the \setupnumber command for MkIV and you need now brackets for both arguments, e.g. \setupnumber[course][3]. > Wolfgang Thank you Wolfgang, `\setupnumber' works. Just to clarify question (before update wiki): is `\setnumber' command obsolete and `\setupnumber' should be used instead? 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 `[]{}'. --- WBR, Vladimir Lomov -- What does it take for Americans to do great things; to go to the moon, to win wars, to dig canals linking oceans, to build railroads across a continent? In independent thought about this question, Neil Armstrong and I concluded that it takes a coincidence of four conditions, or in Neil's view, the simultaneous peaking of four of the many cycles of American life. First, a base of technology must exist from which to do the thing to be done. Second, a period of national uneasiness about America's place in the scheme of human activities must exist. Third, some catalytic event must occur that focuses the national attention upon the direction to proceed. Finally, an articulate and wise leader must sense these first three conditions and put forth with words and action the great thing to be accomplished. The motivation of young Americans to do what needs to be done flows from such a coincidence of conditions. ... The Thomas Jeffersons, The Teddy Roosevelts, The John Kennedys appear. We must begin to create the tools of leadership which they, and their young frontiersmen, will require to lead us onward and upward. -- Dr. Harrison H. Schmidt ___________________________________________________________________________________ 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 ___________________________________________________________________________________