Much thanks, Hans. I am curious why this is not default behavior?

On Tue, Jul 16, 2024 at 6:20 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
On 7/16/2024 7:01 AM, Shiv Shankar Dayal wrote:
> Dear Lits,
>
> Suppose I have  $10,000$ then in the output there is extra space after
> comma. How can I get rid of it?
\setupmathematics[autopunctuation=yes]

$10,000$

$10, 000$

no | yes | all | comma | {yes,semicolon} | {all,semicolon}

see math manual for all kinds of control

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

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


--
Respect,
Shiv Shankar Dayal