From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41595 Path: news.gmane.org!not-for-mail From: "Carlos Breton Besnier" Newsgroups: gmane.comp.tex.context Subject: Re: zero padding with itemize Date: Thu, 12 Jun 2008 08:37:03 +0200 Message-ID: References: <20080608194455.GB8498@gaston.couberia.bzh> <484C521A.8060602@wxs.nl> <20080611153958.GB24937@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1827406938==" X-Trace: ger.gmane.org 1213252720 6545 80.91.229.12 (12 Jun 2008 06:38:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2008 06:38:40 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 12 08:39:23 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 1K6gSt-000547-Sp for gctc-ntg-context-518@m.gmane.org; Thu, 12 Jun 2008 08:39:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0288A1FC66; Thu, 12 Jun 2008 08:38:29 +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 00822-04-6; Thu, 12 Jun 2008 08:37:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB7A61FBB8; Thu, 12 Jun 2008 08:37:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 112781FBB8 for ; Thu, 12 Jun 2008 08:37:39 +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 00822-04-5 for ; Thu, 12 Jun 2008 08:37:06 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by ronja.ntg.nl (Postfix) with ESMTP id DFA521FB1D for ; Thu, 12 Jun 2008 08:37:05 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 27so5632390wfd.5 for ; Wed, 11 Jun 2008 23:37:04 -0700 (PDT) Original-Received: by 10.142.186.9 with SMTP id j9mr310033wff.348.1213252623981; Wed, 11 Jun 2008 23:37:03 -0700 (PDT) Original-Received: by 10.142.238.17 with HTTP; Wed, 11 Jun 2008 23:37:03 -0700 (PDT) In-Reply-To: <20080611153958.GB24937@gaston.couberia.bzh> 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:41595 Archived-At: --===============1827406938== Content-Type: multipart/alternative; boundary="----=_Part_23571_26064835.1213252623941" ------=_Part_23571_26064835.1213252623941 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline And 9? Best \starttext \def\mypaddednumber#1{\ifnum#1<10 0\fi\number#1\relax} \defineconversion[pn] [\mypaddednumber] \startitemize[pn,broad] \item oeps \item oeps \item oeps \stopitemize \stoptext ------=_Part_23571_26064835.1213252623941 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
And 9? Best
 
 
\starttext

\def\mypaddednumber#1{\ifnum#1<10 0\fi\number#1\relax}

\defineconversion[pn] [\mypaddednumber]

\startitemize[pn,broad]
\item oeps
\item oeps
\item oeps
\stopitemize

\stoptext
 
------=_Part_23571_26064835.1213252623941-- --===============1827406938== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1827406938==--