From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79153 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Beginner question. Chapter heading in words Date: Mon, 12 Nov 2012 14:27:17 +0100 Message-ID: References: <509E4AC9.4030503@yahoo.co.uk> <509E50A8.7090600@wxs.nl> <20121110143732.664f8814@homerow> <20121110144352.49903bde@homerow> <509FA681.5020907@wxs.nl> 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 1352726877 3537 80.91.229.3 (12 Nov 2012 13:27:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 13:27:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 12 14:28: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 1TXu3a-0002vK-O3 for gctc-ntg-context-518@m.gmane.org; Mon, 12 Nov 2012 14:28:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E0A510304; Mon, 12 Nov 2012 14:27:54 +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 DCVTLgLn17bP; Mon, 12 Nov 2012 14:27:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9928C1025E; Mon, 12 Nov 2012 14:27:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A84B71025E for ; Mon, 12 Nov 2012 14:27:51 +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 vVZ38OUwudIb for ; Mon, 12 Nov 2012 14:27:50 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 8A1141025B for ; Mon, 12 Nov 2012 14:27:50 +0100 (CET) Original-Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qACDRnUw010197 for ; Mon, 12 Nov 2012 14:27:49 +0100 Original-Received: by mail-ie0-f169.google.com with SMTP id 10so11165081ied.14 for ; Mon, 12 Nov 2012 05:27:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ant3piWW24eO7wbYG0EqVB5xGfD6Ns6yYp1UK34DML0=; b=OMiTVHV0i2qCPES5MAC8ICPzw9imMfGDCemyMVsgCQL27hoCZRoPUIS4ZzDJeO6Qbz xlmAvinmwQag5HV1efRqusUKlOZLLOydFmvS0FTPNUzDl+QH0erjJ2GDeO9c9MXUabCc oEtX8WPc31m3G31NDrPsdJeWuJHFcUD5V4RsCdyosEp13j8eMGDJHIR0Z6fmAZygp/s7 0piLcmOPHmQ1bp3FTBEaqDV7sB9KUmFvEWaepLsh+xBqw4XpLzsiHSlLYlOJcCPALsyG 5ODHqt/DYswwqLZRx9hRnmnatvQ7bC02JKY0qgriVVUcfZQvUnramddM2uxYW89zkBnM A+PQ== Original-Received: by 10.42.72.130 with SMTP id o2mr18591153icj.7.1352726868266; Mon, 12 Nov 2012 05:27:48 -0800 (PST) Original-Received: by 10.64.5.138 with HTTP; Mon, 12 Nov 2012 05:27:17 -0800 (PST) In-Reply-To: <509FA681.5020907@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.223.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: 0NImBrNT9 - 1ca3ce370cc1 - 20121112 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:79153 Archived-At: * looking for a place on the wiki were conversions are documented, I found http://wiki.contextgarden.net/Command/convertnumber. Seems fine. (Conversion and Conversions redirects there now.) * words and Words are now documented on that page, too. Hans: while I was there, I found a bug in the month conversion. In core-con.mkiv, the `month` conversion calls `\monthlong`, which calls the Lua command.month. But that prints the number of the current month; \monthlong should call command.monthname, instead. % core-con.mkiv, line 204 -\def\monthlong #1{\ctxcommand{month(#1)}} +\def\monthlong #1{\ctxcommand{monthname(#1)}} \def\monthshort#1{\ctxcommand{monthmnem(#1)}} Cheers, Sietse ___________________________________________________________________________________ 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 ___________________________________________________________________________________