On May 26, 2021, at 9:46 AM, Hans Hagen <j.ha...@xs4all.nl> wrote:
> 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)

Today’s version works great. Thanks!

-Gavin

___________________________________________________________________________________
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 via email to