From: Hans Hagen <j.hagen@xs4all.nl>
To: Aditya Mahajan <adityam@umich.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
"Mikael P. Sundqvist" <mickep@gmail.com>
Subject: Re: Strange behavior in math mode: < and minus sign give leftarrow
Date: Wed, 10 Apr 2019 23:01:40 +0200 [thread overview]
Message-ID: <543e7d66-c27d-5b4f-6cec-be624507477b@xs4all.nl> (raw)
In-Reply-To: <nycvar.YAK.7.76.44.1904100818110.20792@nqv-guvaxcnq>
On 4/10/2019 2:19 PM, Aditya Mahajan wrote:
> On Wed, 10 Apr 2019, Hans Hagen wrote:
>
>> 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
>>>
>>> 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.)
>
> We can turn it off by default. But it might be better to have a more
> versbose interface:
>
> \setupmathematics[collapsing=yes|no]
>
> with the default value being collapsing=no.
we already have "none" and th enumbers represent:
1 specials
2 specials + mathlist
3 mathlist + specials
Now that Alan is entering his math in unicode symbols we can default to
'none'.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-04-10 21:01 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
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 [this message]
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=543e7d66-c27d-5b4f-6cec-be624507477b@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).