ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	"Mikael P. Sundqvist" <mickep@gmail.com>,
	Aditya Mahajan <adityam@umich.edu>
Subject: Re: Strange behavior in math mode: < and minus sign give leftarrow
Date: Wed, 10 Apr 2019 09:53:27 +0200	[thread overview]
Message-ID: <016e36eb-7930-2dc6-4236-2e83a6576142@xs4all.nl> (raw)
In-Reply-To: <CAHy-LL-J2iv_jTLv87U5xA8dJRj_OGSPgqZhW0eo8NjodnQ0Vg@mail.gmail.com>

On 4/10/2019 9:40 AM, Mikael P. Sundqvist wrote:
> On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian <otared@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@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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2019-04-10  7:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10  7:21 Otared Kavian
2019-04-10  7:40 ` Mikael P. Sundqvist
2019-04-10  7:53   ` Hans Hagen [this message]
2019-04-10  8:09     ` Otared Kavian
2019-04-10 14:41       ` Alan Braslau
2019-04-10 12:19     ` Aditya Mahajan
2019-04-10 21:01       ` Hans Hagen
2019-04-10  7:57   ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=016e36eb-7930-2dc6-4236-2e83a6576142@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=adityam@umich.edu \
    --cc=mickep@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).