From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73441 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: itemize with conversion Date: Thu, 29 Dec 2011 13:55:12 +0100 Organization: Freie =?UTF-8?B?VW5pdmVyc2l0w6R0IEJlcmxpbg==?= Message-ID: <4EFC6330.10603@FU-Berlin.DE> 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 1325163325 11064 80.91.229.12 (29 Dec 2011 12:55:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2011 12:55:25 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 29 13:55:21 2011 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 1RgFVx-0005b0-DG for gctc-ntg-context-518@m.gmane.org; Thu, 29 Dec 2011 13:55:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A404CB1B7; Thu, 29 Dec 2011 13:55:20 +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 Ls5YzboQZu5F; Thu, 29 Dec 2011 13:55:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83E57CB1B3; Thu, 29 Dec 2011 13:55:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43449CB1B3 for ; Thu, 29 Dec 2011 13:55:16 +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 9iBSJViGYyBp for ; Thu, 29 Dec 2011 13:55:14 +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 54478CB1B0 for ; Thu, 29 Dec 2011 13:55:14 +0100 (CET) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBTCtDG2008298 for ; Thu, 29 Dec 2011 13:55:13 +0100 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1RgFVp-000341-2w>; Thu, 29 Dec 2011 13:55:13 +0100 Original-Received: from z8177.pia.fu-berlin.de ([87.77.129.119]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1RgFVo-0000xr-SL>; Thu, 29 Dec 2011 13:55:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 X-Originating-IP: 87.77.129.119 X-Bayes-Prob: 0.0358 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=16; city=Berlin; latitude=52.5167; longitude=13.4000; http://maps.google.com/maps?q=52.5167,13.4000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0HGf0Td9z - bac8cb8aa475 - 20111229 (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.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:73441 Archived-At: This worked some weeks ago: \defineconversion[ordinal][\enordinaldaynumber] \starttext \startitemize[ordinal] \item Test \item Test \item Test \item Test \item Test \stopitemize \stoptext current beta from today Herbert ! Undefined control sequence. system > tex > error on line 7 in file 05-02-4.ctxcrop: Undefined control sequence ... 1 \defineconversion[ordinal][\enordinaldaynumber] 2 \starttext 3 \startitemize[ordinal] 4 \item Test 5 \item Test 6 \item Test 7 >> \item Test 8 \item Test 9 \stopitemize 10 \stoptext 11 \@@cvordinal ->\enordinaldaynumber \convertnumber ... 2\else 3\fi \fi \endcsname {#1} {\number #2} l.7 } \doconvertedstructurecounter ...!criterium ", } )} \endgroup \fi \doactualitemnumber ...rrentitemgroupcounter ]\fi \dohandleitemreference \en... ... l.4 \item T est ? ___________________________________________________________________________________ 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 ___________________________________________________________________________________