From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41577 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: zero padding with itemize Date: Wed, 11 Jun 2008 17:39:58 +0200 Message-ID: <20080611153958.GB24937@gaston.couberia.bzh> References: <20080608194455.GB8498@gaston.couberia.bzh> <484C521A.8060602@wxs.nl> 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: ger.gmane.org 1213198902 32108 80.91.229.12 (11 Jun 2008 15:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 15:41:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 11 17:42:25 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1K6SSm-00008P-Kd for gctc-ntg-context-518@m.gmane.org; Wed, 11 Jun 2008 17:42:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB4771FDDF; Wed, 11 Jun 2008 17:41:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29877-05-5; Wed, 11 Jun 2008 17:40:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5FC0C1FD88; Wed, 11 Jun 2008 17:40:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E83DA1FD88 for ; Wed, 11 Jun 2008 17:40:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29877-05-4 for ; Wed, 11 Jun 2008 17:39:59 +0200 (CEST) Original-Received: from smtp20.orange.fr (smtp20.orange.fr [193.252.22.31]) by ronja.ntg.nl (Postfix) with ESMTP id A7F211FC74 for ; Wed, 11 Jun 2008 17:39:59 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2023.orange.fr (SMTP Server) with ESMTP id 778371C00068 for ; Wed, 11 Jun 2008 17:39:59 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-41-9.w90-49.abo.wanadoo.fr [90.49.232.9]) by mwinf2023.orange.fr (SMTP Server) with ESMTP id 534691C0004F for ; Wed, 11 Jun 2008 17:39:59 +0200 (CEST) X-ME-UUID: 20080611153959341.534691C0004F@mwinf2023.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id D4A97307A1; Wed, 11 Jun 2008 17:39:58 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <484C521A.8060602@wxs.nl> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41577 Archived-At: On Sun, Jun 08 2008, Hans Hagen wrote: > > If yes, how? And if no, where is the magic point, where I could apply a > > patch (if it's not too difficult ;) > > has always been possible ... > > \starttext > > \def\mypaddednumber#1{\ifnum#1<9 0\fi\number#1\relax} > > \defineconversion[pn] [\mypaddednumber] So the \defineconversion is the magic point I could not find (I only searched in core-itm.tex ...). Thanks a lot! Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________