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>,
	Gavin <gavinpublic@comcast.net>
Subject: Re: Unwanted upright math in MkIV
Date: Wed, 26 May 2021 17:46:05 +0200	[thread overview]
Message-ID: <c51bc973-a9ff-3f94-c013-525ff5b754b6@xs4all.nl> (raw)
In-Reply-To: <2EA54F09-93B9-4ED7-B237-BA1D4852F796@comcast.net>

On 5/26/2021 5:14 PM, Gavin wrote:
> I have more information on my upright math problem, but still no fix. Here is my new MWE:
> 
> \starttext
> \showotfcomposition{bodyfont}{}{a=b \m{a=b}}
> \stoptext
> 
> I may not be using this debugging command correctly, but it is returning useful information. The result is correct and the same in TeX Live 2021 MkIV and in the most recent LMTX. Notice that glyphs selected for “a” and “b” are different in the text and math:
> 
> LuaTeX, Version 1.13.2 (TeX Live 2021)
> ConTeXt  ver: 2021.03.05 19:11 MKIV  fmt: 2021.5.11
>> a=b 𝑎 = 𝑏 U+61:a U+3D:= U+62:b [glue][math] U+1D44E:𝑎 [glue] U+3D:= [glue] U+1D44F:𝑏 [math]
> 
> ConTeXt  ver: 2021.05.25 18:03 LMTX  fmt: 2021.5.25
>> a=b 𝑎 = 𝑏 U+61:a U+3D:= U+62:b [glue][math] U+1D44E:𝑎 [glue] U+3D:= [glue] U+1D44F:𝑏 [math]
> 
> However, it is wrong in the most recent MkIV. The glyphs for “a” and “b” are the same in the text and math, even though the switch to math is recognized. (This switch is also evident in the pdf output. There is no space around the “=“ in the text, but it is correct for the math.)
> 
> LuaTeX, Version 1.13.0 (TeX Live 2021)
> ConTeXt  ver: 2021.05.25 18:03 MKIV  fmt: 2021.5.25
>> a=ba=b U+61:a U+3D:= U+62:b [glue][math] U+61:a [kern][glue] U+3D:= [glue] U+62:b [math]
> 
> What could cause MkIV to select upright glyphs when it knows it is typesetting math? One difference is the version of LuaTeX. Could this need to be updated?
todays upload should be ok (when i adapted some lmtx code i also did 
that in mkiv which should not happen)


-----------------------------------------------------------------
                                           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:[~2021-05-26 15:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.148.1621783997.1130.ntg-context@ntg.nl>
2021-05-23 16:26 ` Gavin
2021-05-23 21:36   ` Hans Hagen
2021-05-24 13:00     ` Gavin
2021-05-26 15:14     ` Gavin
2021-05-26 15:46       ` Hans Hagen [this message]
2021-05-26 16:07         ` Fixed: " Gavin
2021-05-23 13:07 Gavin
2021-05-23 14:26 ` Aditya Mahajan

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=c51bc973-a9ff-3f94-c013-525ff5b754b6@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=gavinpublic@comcast.net \
    --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).