From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110290 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jack Hill Newsgroups: gmane.comp.tex.context Subject: LMTX isn't typesetting math correctly with Pagella Date: Fri, 15 Jan 2021 12:33:57 +0000 Message-ID: <5aba5c47-12b5-5a07-193f-063c75405389@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8001452627998821025==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16366"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 15 13:34:30 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l0OJB-00046o-HA for gctc-ntg-context-518@m.gmane-mx.org; Fri, 15 Jan 2021 13:34:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CA5C61C1AEE; Fri, 15 Jan 2021 13:34:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hteGGBtgyChe; Fri, 15 Jan 2021 13:34:03 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1BAB11C1AE9; Fri, 15 Jan 2021 13:34:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 60BD21C1AE4 for ; Fri, 15 Jan 2021 13:34:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cn4stc56dViP for ; Fri, 15 Jan 2021 13:34:00 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.46; helo=mail-wr1-f46.google.com; envelope-from=jackhill3103@gmail.com; receiver= Original-Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 347FB1C1834 for ; Fri, 15 Jan 2021 13:34:00 +0100 (CET) Original-Received: by mail-wr1-f46.google.com with SMTP id d13so9087491wrc.13 for ; Fri, 15 Jan 2021 04:34:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=CKlPhy7GtJAaiK8BbH0/k5sHYYeD9E+UyTUno2fTF7s=; b=LQg5/U9bV7tiKwzkig1i6wpRD5eVI9ZdHkb+sBJO6pEbYigpDeKyrKzIoKpQvXS1vX 897p7ijC73J2DC8WfOXEghRfYPvKxCC1vE1ExLVbPikS7VDW3jE3j6z2RzwEdTFi8KhL Gv2/2gaSIrUlN+yKb8YGQMtiNHEnTHUAIGw1cjKlSc9uIj63eSyXiZydotyrbAc1yitf iRMh2kn0H4Wiur5tOXCfUZXO14anZtjExXANIJ87ZrljdapYsOEJc+Y6LeYvcHJ8Wlyd YXjX8Xc7Wn81ffLV18S/pPsLsrXfiEA3TCLFcllZKeGf6GYgvNJgFt1VF8HOSNrmFFz8 3mKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=CKlPhy7GtJAaiK8BbH0/k5sHYYeD9E+UyTUno2fTF7s=; b=AK0ehcDqE6DLMRe1xiteqUDTDQPYDXLpNP94SUez32jJD//0vpqhIWPYdTRLhwNs8A r6GU160lwbfeAo7lXV8LY7/eh9gW0M8EcmPXqiggQqvLIpzLbbjXVu/+OQM4iUPFXgTe Z+naHBZzrvn929h7nV4Ntapqbr0tkM8bqQ4oo2pXoViPAmwg0q52y+03gjtlPVX8zTXR FyyT/kzA2mlVOfeSvJ1p1GePF2tOhWp9kHW62qgU/w7MZRNZxBpXunOmYc/5RT24TJBS 1j/LUDvTZ59xJBaw8mtbjRWaxrnaA23O/LBQI11WH0F0KV6BIuRN1sIR2eQ/gZWdF9qA I0sA== X-Gm-Message-State: AOAM532b1igbW15m/dxaAcmELrFYXNuqnji3xw8l9fPP1D51IlzoF30F 50bFIlT9xPxnusHTjo/dURbwfexMJ98qfEXh X-Google-Smtp-Source: ABdhPJysYuAPYoN7nFGsJpZULKC9V2X1Z2/NeKyQfZt+SdvmorHehLtJ39qalCcQTvxXm3ukwvUnuA== X-Received: by 2002:adf:a50a:: with SMTP id i10mr13030839wrb.123.1610714039656; Fri, 15 Jan 2021 04:33:59 -0800 (PST) Original-Received: from [192.168.1.21] (cpc76126-clif11-2-0-cust918.12-4.cable.virginm.net. [80.7.59.151]) by smtp.gmail.com with ESMTPSA id h15sm14402830wru.4.2021.01.15.04.33.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Jan 2021 04:33:59 -0800 (PST) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:110290 Archived-At: This is a multi-part message in MIME format. --===============8001452627998821025== Content-Type: multipart/alternative; boundary="------------0977E58E0E1FB495AD15A383" Content-Language: en-US This is a multi-part message in MIME format. --------------0977E58E0E1FB495AD15A383 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 || --------------0977E58E0E1FB495AD15A383 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

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

--------------0977E58E0E1FB495AD15A383-- --===============8001452627998821025== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8001452627998821025==--