[NTG-context] Re: usage of conversion in \date

2023-12-18 Thread Peter Münster
On Wed, Nov 29 2023, Peter Münster wrote: > According to https://wiki.contextgarden.net/Command/date: > "The name suffixes indicate number conversions. Any conversion, either > built-in or defined by \defineconversion, can be used there." > > But it does not seem to work... Hi, Should I add thi

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Peter Münster
On Wed, Nov 29 2023, Hans Hagen wrote: > \setuplanguage[fr][date={day:++,\ ,month,\ ,year}] Unfortunately this does not work as I need. Only the "1" should be converted to 1er, not the other numbers. French is a bit special: You say "le premier novembre" but not "le un novembre". You say "le deu

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Hans Hagen
On 11/28/2023 6:09 PM, Peter Münster wrote: Hi, When printing a date in French, I would like to convert the "1" to "1\ier", but it does not work as I expect: --8<---cut here---start->8--- \startluacode -- from https://wiki.contextgarden.net/Command/defineconv