Re: [NTG-context] comma as decimal separator in maths mode

2019-09-21 Thread Henning Hraban Ramm

> Am 2019-09-20 um 20:29 schrieb Wolfgang Schuster 
> :
> 
> Martin Althoff schrieb am 14.09.2019 um 08:34:
>> Hi ... I am outputting some numbers in maths mode that have a comma as 
>> decimal separator.
>> 
>> I get a big space after the comma, which I can prevent by writing $1{,}5$
>> 
>> Is there a less awkward way of getting the comma as a "real" decimal 
>> separator?
> \setupmathematics[autopunctuation=yes]

Interesting. Is this language dependent?

(see also https://wiki.contextgarden.net/Command/setupmathematics)

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] comma as decimal separator in maths mode

2019-09-20 Thread Wolfgang Schuster

Martin Althoff schrieb am 14.09.2019 um 08:34:

Hi ... I am outputting some numbers in maths mode that have a comma as decimal 
separator.

I get a big space after the comma, which I can prevent by writing $1{,}5$

Is there a less awkward way of getting the comma as a "real" decimal separator?

\setupmathematics[autopunctuation=yes]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] comma as decimal separator in maths mode

2019-09-13 Thread Martin Althoff
Hi ... I am outputting some numbers in maths mode that have a comma as decimal 
separator.

I get a big space after the comma, which I can prevent by writing $1{,}5$ 

Is there a less awkward way of getting the comma as a "real" decimal separator?

Thanks, Martin

\starttext
$1,5$

\math{1,5}

$1{,}5$
\stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___