From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59909 Path: news.gmane.org!not-for-mail From: "Tom" Newsgroups: gmane.comp.tex.context Subject: Re: \numstr errors out in chapter star logic Date: Mon, 28 Jun 2010 17:33:18 -0400 Message-ID: <00fb01cb1709$86ae8580$940b9080$@com> References: <00e901cb16da$e492ab10$adb80130$@com> <4C290660.4010605@googlemail.com> <00f201cb1705$60bceaa0$2236bfe0$@com> <4C29106D.7040708@googlemail.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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277760808 21391 80.91.229.12 (28 Jun 2010 21:33:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2010 21:33:28 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 28 23:33:27 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 1OTLxG-00020Q-NS for gctc-ntg-context-518@m.gmane.org; Mon, 28 Jun 2010 23:33:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31A9CC9ADD; Mon, 28 Jun 2010 23:33:26 +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 E+yuDcy8cEZk; Mon, 28 Jun 2010 23:33:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4479EC9AC1; Mon, 28 Jun 2010 23:33:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 088B9C9AC1 for ; Mon, 28 Jun 2010 23:33:22 +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 6+ce8QzZnod2 for ; Mon, 28 Jun 2010 23:33:20 +0200 (CEST) Original-Received: from smtp2.ctinetworks.com (smtp2.ctinetworks.com [205.166.61.227]) by balder.ntg.nl (Postfix) with ESMTP id EA048C9AB7 for ; Mon, 28 Jun 2010 23:33:19 +0200 (CEST) Original-Received: from TomPC (dsl-206-251-12-162.dsl0.crls.pa.net [206.251.12.162]) by smtp2.ctinetworks.com (Postfix) with ESMTP id D153A1A7472 for ; Mon, 28 Jun 2010 17:33:17 -0400 (EDT) In-Reply-To: <4C29106D.7040708@googlemail.com> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsXBsc7HX70P93KSAOmWO3486LvtAAAjm2A Content-Language: en-us X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: D153A1A7472.F1E32 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1278624798.86441@dmvvAPbuy7BQw5wzdy8MBQ 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:59909 Archived-At: Am 28.06.10 23:03, schrieb Tom: > Making the following changes resulted in ! Missing Number, treated as zero. > I'm lazy: \defineconversion[numstring][One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Te n,...] \setuphead[chapter][conversion=numstring] \starttext \dorecurse{11}{\chapter{Chapter #1}} \stoptext Wolfgang The "lazy" method below yields eleven pages, each of which is headed by n Chapter n, where n represents the numerals from 1 to 11. The text version of the chapter numbers do not appear. \defineconversion[numstring][One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Te n,Eleven] \setuphead[chapter] [conversion=numstring] \starttext \dorecurse{11}{\chapter{Chapter #1}} \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey ___________________________________________________________________________________ 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 ___________________________________________________________________________________