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.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7256 invoked from network); 13 Apr 2023 14:32:44 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 13 Apr 2023 14:32:44 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4E89C140B; Thu, 13 Apr 2023 16:32:32 +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 eQhNFHPFpQCu; Thu, 13 Apr 2023 16:32:31 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F3220D0E; Thu, 13 Apr 2023 16:32:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D8C57D0E for ; Thu, 13 Apr 2023 16:32:28 +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 cToHwxFHoJUE for ; Thu, 13 Apr 2023 16:32:28 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.183; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver= Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 02E904EF for ; Thu, 13 Apr 2023 16:32:27 +0200 (CEST) X-KPN-MessageId: eef7723b-da07-11ed-93ea-005056992ed3 Received: from smtp.kpnmail.nl (unknown [10.31.155.8]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id eef7723b-da07-11ed-93ea-005056992ed3; Thu, 13 Apr 2023 16:31:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=k328qM1bhxMGWmSKG9sIHBdCuUxJe6OfNGR+YslXrfo=; b=p6pS/CCBQroHbJl303V2h9Mcr2kl/gTW+Te1Jh50wgBTVDze2K9Qq0kYKZ8FmAup8kL97ZbBqOk04 IQ7g7mjzsRIfgo37LzZYTH8X4mETlgZrn8LerBUrSJwmiJauYEHaanPYISHl8seTO9WEjQqUmbiLYk w8BMMEMe1z9ox2sDRzFvat20Tx0zfodWg6C4rQbel1O9x0F8FhesSwhyg4nC7f8aAQqC7g5OBMVsKQ lCyGGo/URjRBkS+3iYaKyDrrep/y9QLde+eIOgbzzkB0bXRYHTYd4LfO6yJuOAz3DdDE77gbRxoqV6 a/yynm+PPVdFEXg3ZvA7OyVk9f0kzHg== X-KPN-MID: 33|BfQ+Z5pBEN8ZfxW35EWOnaVaJWXe06MTRcgoNew7u6Lc2IVgk5dgJcFwp6JhnaD UidTS0oveoJIgR7sCN2HqFV90/vYaZf07y2hidDwpyvQ= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|0VJ5va1Apb2rdJ1kgw/ziQ65vYqlxKAofTTXEu++eHofb5+faib2rFnRit9RLtA 1BAvspd1rEmmT5/Z8oj3HnQ== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 031af26c-da08-11ed-b306-00505699d6e5; Thu, 13 Apr 2023 16:32:26 +0200 (CEST) Message-ID: <037a1404-8a93-d32c-8a94-9ce9c69f4434@xs4all.nl> Date: Thu, 13 Apr 2023 16:32:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: Kalouguine Andre via ntg-context References: <640aa3e12d497a417564762e304bbc02@ens-lyon.fr> In-Reply-To: <640aa3e12d497a417564762e304bbc02@ens-lyon.fr> Subject: Re: [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: Hans Hagen via ntg-context Reply-To: mailing list for ConTeXt users Cc: Hans Hagen Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" On 4/13/2023 2:06 PM, Kalouguine Andre via ntg-context wrote: > 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). i'm not familiar with that approach so can't see what interferes > 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 here i just put all fonts in texmf-fonts/fonts/data you can try to mix selectfont and regular typoescripts: \usetypescriptfile[ebgaramond] \definefontfamily [ebgaramond] [serif] [ebgaramond] [features=eb-garamond-normal] %definefontfamily [ebgaramond] [math] [Garamond-Math] \definefontfamily [ebgaramond] [mono] [Hack] [tf=style:mono] %definetypeface [ebgaramond] [ss] [sans] [ysabeau] [default] \definetypeface [ebgaramond] [mm] [math] [ebgaramond] [default] \setupbodyfont[ebgaramond,12pt] \starttext The most distinct sentence $x$. \stoptext as you probably also want proper math. 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________