[NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

Hans Hagen j.hagen at xs4all.nl
Wed Apr 10 09:53:27 CEST 2019


On 4/10/2019 9:40 AM, Mikael P. Sundqvist wrote:
> On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian <otared at gmail.com> wrote:
>>
>> Hi Hans,
>>
>> While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when the characters < and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative numbers.
>> So one has to separate them in order to obtain with curly braces. Can this be fixed or is it intended ?
>>
>> \starttext
>> $\alpha < -1$
>>
>> $\alpha \leftarrow 1$
>>
>> $\alpha < {-1}$
>>
>> $\alpha {<} - 1$
>> \stoptext
>>
>> Best regards: OK
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>>
>> maillist : ntg-context at 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
>> ___________________________________________________________________________________
> 
> Hi!
> 
> I asked about this before, and it is a feature.
> 
> It can be switched off with
> 
> \setupmathematics[
> collapsing=1,
> ]
> 
> Hope it helps!
Indeed. Aditya is in charge of decisions about these defaults so if you 
want it differently you need to convince him. (I'm not sure how many 
users depend on it.)

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


More information about the ntg-context mailing list