Wouldn’t it make sense to unify the setup of number formatting?
\setupunits is good, but it doesn’t affect \digits or \spaceddigits.
\setdigitmode and \setdigitorder affect \digits, but not \spaceddigits.
Similar problem: The spreadsheet module has the keys "period" and
"comma" to change number formatting, but it simply replaces all periods
with commas, also in text.
(Probably nobody uses that module, so it probably doesn’t make sense to
invest time, but since I tried to use it, I wanted to mention that issue.)
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________