ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: zero padding with itemize
Date: Thu, 12 Jun 2008 08:57:18 +0200	[thread overview]
Message-ID: <115224fb0806112357l835789coa567adf2f65d20e9@mail.gmail.com> (raw)
In-Reply-To: <20080611153958.GB24937@gaston.couberia.bzh>

On Wed, Jun 11, 2008 at 5:39 PM, Peter Münster <pmlists@free.fr> wrote:
> 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 ...).

This is described in ConTeXt the manual, page 216:

The symbols used under 1 to 8 can be defined with the command
\definesymbol and the conversion of the numbering with \defineconversion

> Thanks a lot!
> Peter

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2008-06-12  6:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-08 19:44 Peter Münster
2008-06-08 21:41 ` Hans Hagen
2008-06-11 15:39   ` Peter Münster
2008-06-12  6:37     ` Carlos Breton Besnier
2008-06-12  6:52       ` Wolfgang Schuster
2008-06-12  6:57     ` Wolfgang Schuster [this message]
2008-06-12  7:06   ` Carlos Breton Besnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=115224fb0806112357l835789coa567adf2f65d20e9@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).