From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79125 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Beginner question. Chapter heading in words Date: Sat, 10 Nov 2012 14:43:52 +0100 Message-ID: <20121110144352.49903bde@homerow> References: <509E4AC9.4030503@yahoo.co.uk> <509E50A8.7090600@wxs.nl> <20121110143732.664f8814@homerow> 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: ger.gmane.org 1352555042 8618 80.91.229.3 (10 Nov 2012 13:44:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2012 13:44:02 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 10 14:44:12 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 1TXBM1-0004cJ-Vy for gctc-ntg-context-518@m.gmane.org; Sat, 10 Nov 2012 14:44:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5EB10102D4; Sat, 10 Nov 2012 14:44:00 +0100 (CET) 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 x4ZCMlVyU5jJ; Sat, 10 Nov 2012 14:43:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DE89310242; Sat, 10 Nov 2012 14:43:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4699310242 for ; Sat, 10 Nov 2012 14:43:58 +0100 (CET) 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 bz5Bi7CIFlQj for ; Sat, 10 Nov 2012 14:43:57 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id B121110233 for ; Sat, 10 Nov 2012 14:43:57 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAADc51t015141 for ; Sat, 10 Nov 2012 14:38:06 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id 56E8D11BB6A for ; Sat, 10 Nov 2012 07:43:55 -0600 (CST) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id KUIC6TJRD0WC for ; Sat, 10 Nov 2012 07:43:55 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=kf6tnX1uCLHRyWnpRwzvj1ZZ7lKH6H5I2RiajxG2YarxOmuuV7GcEn2rMD92MWQAdCGWI4KG48TfUI/Q/kKE+CMmjsI506bnLkqN+ZnH+HiuvtHQwtianSuj4s0ybq7MUM3LX+yTLcN6B0eBNImzkw7tU9GGb7RwZGbDhqxASC8=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <20121110143732.664f8814@homerow> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75206; latitude=32.8339; longitude=-96.7715; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8339,-96.7715&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIlNC561 - b7ed52864be5 - 20121110 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79125 Archived-At: 2012-11-10 Marco Patzer: > 2012-11-10 Hans Hagen: > > > On 11/10/2012 1:38 PM, Andrew Dowell wrote: > > > > > > Chapter One > > > > > > This is the Name of the First Chapter > > > > I assume the OP was looking for a way to convert a counter to the > corresponding English word: > > \defineconversion > [words] > [One, Two, Three, Four, Five] I forgot to add how to hook this into Hans' example: \defineconversion [words] [One, Two, Three, Four, Five] \setuphead [chapter] [header=high, command=\MyChapterTitle, style=\bfc, conversion=words, numberstyle=\bfb] Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________