[NTG-context] LMTX isn't typesetting math correctly with Pagella

Hans Hagen j.hagen at xs4all.nl
Sat Jan 16 00:33:09 CET 2021


On 1/15/2021 1:33 PM, Jack Hill wrote:
> Hi,
> 
> I've been having some trouble with ConTeXt not typesetting math 
> correctly when using the Pagella font (I do not know if the same issue 
> occurs with other fonts as I haven't tested them).
> 
> If I compile with LMTX, the spacing between letters becomes very small 
> so that when I type "|f|", for example, the second "|" intersects the f 
> and looks rather ugly. However, compiling with the --luatex switch fixes 
> these issues and the math looks nice again.
> 
> Can anybody else replicate this issue, and does anybody know why it is 
> happening?
> 
> This the code I used to test:
> 
> |\setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1 
> |f(t)|^2 \text{d}t} \stopformula \stoptext |||
I'll check it ... smells like some interference between newer and older 
corrections (these gyre fonts need some special treatment).

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