Am 20.02.2025 um 19:53 schrieb Mohammad Hossein Bateni:
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}

persiannumerals aren't considered a conversion method for the underlying Lua mechanism while there exists a method for \convertnumber on the TeX side.

Both system are separate (to a certain degree) but the TeX side borrows the conversion vectors from the Lua mechanism.

Wolfgang

___________________________________________________________________________________
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