Any thoughts why the following doesn't work?

\currentdate[d:persiannumerals]

It just outputs the normal digits.

In contrast, these work:

\currentdate[d:abjadnumerals]
\convertnumber{persiannumerals}{\normalday}



On Sat, Dec 7, 2024, 7:11 AM Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:

> On 12/6/24 15:39, Wolfgang Schuster wrote:
> > [...]
> > The \date (and \currentdate) command supports number conversion for the
> > day and year values but not the month.
> >
> > \starttext
> > \currentdate[d:R,space,space,y:R]
> > \stoptext
>
> Many thanks for your fast reply, Wolfgang.
>
> I didn’t even know that there were such short invocations for number
> conversions in \currentdate.
>
> > The simplest method is to use \convertnumber in combination with
> > \normalmonth etc. which holds the value for the current month etc.
> >
> > \starttext
> > \convertnumber{R}{\normalday  }\textslash
> > \convertnumber{R}{\normalmonth}\textslash
> > \convertnumber{R}{\normalyear }
> > \stoptext
>
> First time I see these commands. Good to know them.
>
> Many thanks for your help,
>
> Pablo
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to