From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59904 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \numstr errors out in chapter star logic Date: Mon, 28 Jun 2010 22:30:24 +0200 Message-ID: <4C290660.4010605@googlemail.com> References: <00e901cb16da$e492ab10$adb80130$@com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277757037 8050 80.91.229.12 (28 Jun 2010 20:30:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2010 20:30:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 28 22:30:35 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 1OTKyQ-0007o1-Hi for gctc-ntg-context-518@m.gmane.org; Mon, 28 Jun 2010 22:30:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB3A4C9AC7; Mon, 28 Jun 2010 22:30:33 +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 GMx2PdGfcQh5; Mon, 28 Jun 2010 22:30:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 18445C9A9C; Mon, 28 Jun 2010 22:30:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F760C9A9C for ; Mon, 28 Jun 2010 22:30:29 +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 CE3kO9BXv08d for ; Mon, 28 Jun 2010 22:30:27 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by balder.ntg.nl (Postfix) with ESMTP id F30E6C9A8A for ; Mon, 28 Jun 2010 22:30:26 +0200 (CEST) Original-Received: by wyb39 with SMTP id 39so4094748wyb.14 for ; Mon, 28 Jun 2010 13:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=8e6JMe3nZw9POAazBvNR32udi0WaDhu859JkXMp/SJg=; b=Mx1zcEuWKBKCshP0KLEZJz7YJDtf1wsd0Ke7xX6iFpCNeBR6r58etaMK3QDn+Fqy9N Wo9oipeB7s8jBGLIju5ncTA4lHLqJ2H1889RHUaNqJIh08d3w1ipGtzd1gH2OviGl8Yi 6b4tD93kqM9xDIRWlFGNQrPRPMznbyOOHUKvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=r+BZtKulUygMcj7XycPSNa81BW9qQoeqMSzzPktZhRcMq5BhqALYAzaWqgQmWVQYLm cKn8sQDx8Dr3y78RnPbfHQZvYguwhYvL7V1V2sF2Dbw4RrrtRxKYgh2kaDWjuSgsm/sT WAI/Kpl7oxEJAV7HuvoX06+7OW9QXCWOcD4bo= Original-Received: by 10.216.89.194 with SMTP id c44mr8588264wef.76.1277757026702; Mon, 28 Jun 2010 13:30:26 -0700 (PDT) Original-Received: from rover.fritz.box ([188.110.233.80]) by mx.google.com with ESMTPS id y32sm1138804weq.41.2010.06.28.13.30.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Jun 2010 13:30:25 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 In-Reply-To: <00e901cb16da$e492ab10$adb80130$@com> 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:59904 Archived-At: Am 28.06.10 17:59, schrieb Tom: > \numstr seems to work fine in the body of text but errors out as if #1 was > not a number when it is used in chapter start loc. Here is an example: > > [...] > > \setuphead[chapter] > [command=\MyChapterCommandA] %change A to B to eliminate \substr call > Try \setuphead[chapter][deepnumbercommand=\numstr] 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 ___________________________________________________________________________________