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

Otared Kavian otared at gmail.com
Fri Jan 15 13:56:12 CET 2021


Hi Jack,

I tested your example both with Pagella and Lucida OT: indeed typesetting with the latest LMTX, with Pagella the math italic « f » runs into the right bar of « |f| ».

However the result with mkiv is correct.

I am attaching the PDF output with LMTX.

Best regards: Otared



> On 15 Jan 2021, at 13:33, Jack Hill <jackhill3103 at gmail.com> 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
> Jack
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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 part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210115/ad2bc9a0/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bar-distance-f.pdf
Type: application/pdf
Size: 14141 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210115/ad2bc9a0/attachment-0001.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210115/ad2bc9a0/attachment-0003.htm>


More information about the ntg-context mailing list