From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109788 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T. Kurt Bond" Newsgroups: gmane.comp.tex.context Subject: Re: How do I get rid of the ct and st ligatures in EBGaramond? Date: Wed, 2 Dec 2020 14:01:23 -0500 Message-ID: References: <4670f8a5-f5cd-20e0-4477-1b4ce54392cc@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7254733290710266261==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38109"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 02 20:06:19 2020 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 1kkXSF-0009pn-8H for gctc-ntg-context-518@m.gmane-mx.org; Wed, 02 Dec 2020 20:06:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 525451AAACC; Wed, 2 Dec 2020 20:01:40 +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 4nkfuwtC2eLc; Wed, 2 Dec 2020 20:01:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 600351AAAEF; Wed, 2 Dec 2020 20:01:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4F17A1AAADE for ; Wed, 2 Dec 2020 20:01:38 +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 kexnV_0x60D7 for ; Wed, 2 Dec 2020 20:01:37 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.50; helo=mail-io1-f50.google.com; envelope-from=tkurtbond@gmail.com; receiver= Original-Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (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 3F62D1AAACC for ; Wed, 2 Dec 2020 20:01:37 +0100 (CET) Original-Received: by mail-io1-f50.google.com with SMTP id z5so3034588iob.11 for ; Wed, 02 Dec 2020 11:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ssiHFUiz+r42EKKlFS6rbORM6UD/hvPz15+6WUTQf0k=; b=D1u/Q0xsDPWdiOMmcuL5auPbhRhGsurD86fAd4CE0H6HGLhREcJhlPYG9196aB/mwE wCeR3pPgsFBPi9fZh8GoO2hONZHgjTA26w+RfQzZ3K6BUXGY1hOPrp98zsEoLiHOWcLg UxrDIi3uDtdYc/ChclRTkRyD2gbd11Zuafxtd+SxwxmJPngy8mS7XWvVf+IBVWdnyGoG uMQN2Pirnl9wy66yIH0bjofjPSqvIlEScSbPgIrQRF38Sf1J/5Dr6MO233aS970dR48e n8wRMKLWEHCm1vFlYFoUuRKhMJRurkNQekw3XKw0DS3qOd0S0/pmKEkl8Jw+T7LwXyju 6Rag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ssiHFUiz+r42EKKlFS6rbORM6UD/hvPz15+6WUTQf0k=; b=Kzsglq/UW9aD/Fbh7+g3xBeouGPtaMtKKnHDHlhIZHORD+HuoXq4yrokBf0Htn8/Z3 nIkSOpa5VKWo19xG9BEm2Zh+4kl4ro8r8BZImfx4lP20YZ3ZUSBkjrknOOj5CCKl3MRe dg5We0X9Nl23l49zpQejJq6pV55i5VpJmvCFZIBe28+IHDV9lCTV+ccyE2jZvVV0MI+r 9yLoEzzCN+b9D5vS8KogvQggSnT9TruVy95xpVUJk2pQGNgG1BMWALTUiHqigr4pzC0s uYucyJbxZLcMdKuLRlUKe9BuhznDASgJmElKe+e/akXeAYJoiBj6mB77CKqkyuMh0KtZ z+Cg== X-Gm-Message-State: AOAM5304M229DbWwIWnnuKGq1mUeWfM7eUEhTYnX+VMcoYsJGrSXrE9D 6+gxWKMd/n5Uu2J2J0vLr4vqJbRwJsBhYQ/nWxb0IadBx6w= X-Google-Smtp-Source: ABdhPJy4ppmson8PzqzIKGPu8xxB+xtAkb3UCRHPU1G13miPJ8Ypwifvs/kacezMDr6Mf4ktMBGEG8d0iXAvQz3x328= X-Received: by 2002:a5e:d70e:: with SMTP id v14mr3185358iom.75.1606935695174; Wed, 02 Dec 2020 11:01:35 -0800 (PST) In-Reply-To: <4670f8a5-f5cd-20e0-4477-1b4ce54392cc@gmx.es> 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:109788 Archived-At: --===============7254733290710266261== Content-Type: multipart/alternative; boundary="00000000000049b0db05b57fdf32" --00000000000049b0db05b57fdf32 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I agree, this solution does seem cleaner to me. Thanks! On Wed, Dec 2, 2020 at 1:23 PM Pablo Rodriguez wrote: > On 12/2/20 6:56 PM, T. Kurt Bond wrote: > > Ah, ok. > > > > Here is a minimal NONWORKING example: the resulting PDF shows the ct an= d > > st ligatures. What commands should I use to turn them off? > > Hi Kurt, > > here you have the sample that should work: > > %~ \definefontfamily[ebgaramond] [rm] [ebgaramond] > > %~ [features=3D{default,dlig=3Dno}] > > \definefontfeature[english][dlig=3Dno] > > \definefontfamily[ebgaramond] [rm] [EB Garamond] > > [features=3D{default,english}] > > \setupbodyfont[ebgaramond,10pt] > > \starttext > > ct st > > \stoptext > > BTW, on my system the default doesn=E2=80=99t get discretionary ligatures= . > > Your sample didn=E2=80=99t work because the identifier for \definefontfam= ily > (english) was different from the one used in \setupbodyfont. (If they > don=E2=80=99t match, it cannot work.) > > Another cleaner approach is to define font features to invoke them in > \definefontfamily. This method seems cleaner to me. > > I hope it helps, > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --=20 T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io --00000000000049b0db05b57fdf32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I agree, this solution does seem cleaner to me.=C2=A0 Than= ks!

On Wed, Dec 2, 2020 at 1:23 PM Pablo Rodriguez <oinos@gmx.es> wrote:
On 12/2/20 6:56 PM, T. Kurt Bond wrote:
> Ah, ok.
>
> Here is a minimal NONWORKING=C2=A0example: the resulting PDF shows the= ct and
> st ligatures.=C2=A0 What commands should I use to turn them off?

Hi Kurt,

here you have the sample that should work:

=C2=A0 %~ \definefontfamily[ebgaramond] [rm] [ebgaramond]

=C2=A0 =C2=A0 %~ [features=3D{default,dlig=3Dno}]

=C2=A0 \definefontfeature[english][dlig=3Dno]

=C2=A0 \definefontfamily[ebgaramond] [rm] [EB Garamond]

=C2=A0 =C2=A0 [features=3D{default,english}]

=C2=A0 \setupbodyfont[ebgaramond,10pt]

=C2=A0 \starttext

=C2=A0 ct st

=C2=A0 \stoptext

BTW, on my system the default doesn=E2=80=99t get discretionary ligatures.<= br>
Your sample didn=E2=80=99t work because the identifier for \definefontfamil= y
(english) was different from the one used in \setupbodyfont. (If they
don=E2=80=99t match, it cannot work.)

Another cleaner approach is to define font features to invoke them in
\definefontfamily. This method seems cleaner to me.

I hope it helps,

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________


--
--00000000000049b0db05b57fdf32-- --===============7254733290710266261== 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== --===============7254733290710266261==--