From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1415 invoked from network); 13 Apr 2023 12:16:24 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 13 Apr 2023 12:16:24 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BE20D1B9; Thu, 13 Apr 2023 14:16:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 FDexRk69Tnd9; Thu, 13 Apr 2023 14:15:57 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4A2E77C4; Thu, 13 Apr 2023 14:15:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A1CF7324 for ; Thu, 13 Apr 2023 14:15:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 YepB1Ih__x-V for ; Thu, 13 Apr 2023 14:15:53 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=140.77.167.81; helo=lxc-smtp2.ens-lyon.fr; envelope-from=andre.kalouguine@ens-lyon.fr; receiver= X-Greylist: delayed 574 seconds by postgrey-1.36 at zapf.ntg.nl; Thu, 13 Apr 2023 14:15:53 CEST Received: from lxc-smtp2.ens-lyon.fr (lxc-smtp2.ens-lyon.fr [140.77.167.81]) by zapf.ntg.nl (Postfix) with ESMTP id B37A51B9 for ; Thu, 13 Apr 2023 14:15:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 160FCE0693 for ; Thu, 13 Apr 2023 14:06:19 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MN2jtLfETsJb for ; Thu, 13 Apr 2023 14:06:19 +0200 (CEST) Received: from webmail.ens-lyon.fr (lxc-m2-webmail2.ens-lyon.fr [140.77.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 0BA70E0526 for ; Thu, 13 Apr 2023 14:06:18 +0200 (CEST) MIME-Version: 1.0 Date: Thu, 13 Apr 2023 14:06:18 +0200 To: ntg-context@ntg.nl Message-ID: <640aa3e12d497a417564762e304bbc02@ens-lyon.fr> X-Sender: andre.kalouguine@ens-lyon.fr User-Agent: Roundcube Webmail/1.2.7 Subject: [NTG-context] Using project-local fonts X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kalouguine Andre via ntg-context Reply-To: mailing list for ConTeXt users Cc: Kalouguine Andre Content-Type: multipart/mixed; boundary="===============5787009496207171329==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============5787009496207171329== Content-Type: multipart/alternative; boundary="=_5670c8baafb02e2fe31931046b124a45" --=_5670c8baafb02e2fe31931046b124a45 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hi, I'm writing a small report using EB Garamond as the main font. I am sometimes using Overleaf (which has a ConTeXt distribution that is accessible using a latexmkrc file). The problem is, the EB Garamond version that is included seems to have a bug: the c-t and s-t ligatures (and maybe others) are triggered when enabling `dlig` even though they are supposed to be in the `hlig` feature. I also would like to include the Hack font that isn't in the distribution. So, I'm looking for a way to embed the fonts into the project in a portable way instead of installing them in a system directory. Is there any way to do so ? The version of ConTeXt used is ConTeXt ver: 2021.03.05 19:11 MKIV fmt: 2023.4.13 int: english/english Here is a small MWE: output.tex``` \definefontfeature [myfontfeature] [default][ liga=yes, tlig=yes, dlig=yes, hlig=no, ] \definefontfamily [ebgaramond] [serif] [ebgaramond] [features=myfontfeature] \definefontfamily [ebgaramond] [math] [Garamond-Math] \definefontfamily [ebgaramond] [mono] [Hack] [tf = style:mono] \setupbodyfont[ebgaramond,12pt] \starttext The most distict sentence. \stoptext ``` latexmkrc``` $latex = 'ls /;context --luatex --synctex --batchmode %S' ``` -- Kalouguine Andre --=_5670c8baafb02e2fe31931046b124a45 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hi,

I'm writing a small report using EB Garamond as the main font. I am some= times using Overleaf (which has a ConTeXt distribution that is accessible u= sing a latexmkrc file).

The problem is, the EB Garamond version that is included seems to have a= bug: the c-t and s-t ligatures (and maybe others) are triggered when enabl= ing `dlig` even though they are supposed to be in the `hlig` feature. I als= o would like to include the Hack font that isn't in the distribution.
= So, I'm looking for a way to embed the fonts into the project in a portable= way instead of installing them in a system directory. Is there any way to = do so ? The version of ConTeXt used is

ConTeXt  ver: 2021.03.05 19:11 MKIV  fmt: 2=
023.4.13  int: english/english

Here is a small MWE:

ou= tput.tex```

\d= efinefontfeature
[myfontfeature]
[default][
 &nbs= p;  liga=3Dyes,
    tlig=3Dyes,
 &nb= sp;  dlig=3Dyes,
    hlig=3Dno,
]<= br />
\definefontfamily [ebgaramond] [serif] [ebgaramond] [features=3Dmyfon= tfeature]
\definefontfamily [ebgaramond] [math]  [Garamond-Math= ]
\definefontfamily [ebgaramond] [mono]  [Hack] [tf =3D style:m= ono]
\setupbodyfont[ebgaramond,12pt]

\starttext

\stoptext

``= `

la= texmkrc```

&n= bsp;$latex =3D 'ls /;context --luatex --synctex --batchmode %S'

``= `

--
= Kalouguine Andre
--=_5670c8baafb02e2fe31931046b124a45-- --===============5787009496207171329== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============5787009496207171329==--