From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105994 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Exp Newsgroups: gmane.comp.tex.context Subject: Re: OSFONTDIR defined in texmf.cnf not used Date: Wed, 8 Jan 2020 11:48:56 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4157141987735196993==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167960"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 08 11:50:44 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ip8ud-000LGI-Bu for gctc-ntg-context-518@m.gmane-mx.org; Wed, 08 Jan 2020 11:50:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C2A11164A7A; Wed, 8 Jan 2020 11:49:52 +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 tIm-1g2-DjI0; Wed, 8 Jan 2020 11:49:51 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DCC8B164918; Wed, 8 Jan 2020 11:49:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 37CD917A164 for ; Wed, 8 Jan 2020 11:49:50 +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 r1z0JhwzWJeW for ; Wed, 8 Jan 2020 11:49:18 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.47; helo=mail-wm1-f47.google.com; envelope-from=exprosic@gmail.com; receiver= Original-Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 11F0410C for ; Wed, 8 Jan 2020 11:49:17 +0100 (CET) Original-Received: by mail-wm1-f47.google.com with SMTP id q9so1940901wmj.5 for ; Wed, 08 Jan 2020 02:49:17 -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=2H0COpm9QuieWUPnS3A59dAMZb2kTAIIVJRiop9Kd0c=; b=eXd1y+ZjS4XstaArhLuM2cQG/2QbPAvNW7f6foivth2aLnJFpDw6NXS+/mqJ+W5Oyf N+w2pQZY0CdPBQhSfMs64IgnDmZDI8qNTuCU/WWta7W0QITHBqY1mR+nKDI3Fqsxj914 RdVjLWxSxpFgWf4QD2esE6+15pJLgDlRQv9G83j1QQO3LAZNqHLA+UyYhQJlp4pST8FC IFHTJbtLBSnDL6IMI6v9A7ETBsBW6WZhELaD0X/xiImc/832UJhvMHbJdatj0cpcRRv0 UHkL8SUXqCoraKQJGRmXEYmhLvW8PD/CkFATypm9ANu9m0HWRtiDQw2ONtKI3wCYFInM cqTg== 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=2H0COpm9QuieWUPnS3A59dAMZb2kTAIIVJRiop9Kd0c=; b=H6eWbE0JiCwHf8pzghx5r5hp6nYTETI7slXqy5IycB4QxNiAZlBYngWmMfsqJPT/M4 nbgNfnZTmEEA/Hc6HD+BI78E5nPxe4k5BjuNqfZ4fQFnMwCH21SmzY3HCp54bQcswI5U xFz6FVf6N669MyiNAApFXlLYGWoUMi4E3waZeabzXn5t+20bx4L0/uKdstUwBXcu8euZ 5W/poSRETbBV5Vc/GoNyytWN6aOFvOpOKm6Kt3dmtgsvv4WDw+dx6QPA2PAH1WlbQt0b Pi402YLREPTOYQHxVTSgq9otl4kbQYIxvF1EPybcTDMoGGqR7DFTxV64g6itm+ljdj9B tuDA== X-Gm-Message-State: APjAAAVOpbsCTc8ab70V595XW3Tr+H8VwRBaP3PT3lhEG7Ld3e6gBQE0 lwIXzICMUhu36FAa8PoLxVM3qt5455bbodf06Tfy4bmSuyad2A== X-Google-Smtp-Source: APXvYqzs3Mp9kAEvdtfeTqBjZCi2RjEz8aEugVmj+rhtOGRoMVV7dwTlu/srm8UmDUIsx0gxqfebDkZulyJy1HoSp8o= X-Received: by 2002:a1c:28d4:: with SMTP id o203mr3044478wmo.123.1578480557549; Wed, 08 Jan 2020 02:49:17 -0800 (PST) In-Reply-To: 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.org gmane.comp.tex.context:105994 Archived-At: --===============4157141987735196993== Content-Type: multipart/alternative; boundary="000000000000eaedda059b9ea413" --000000000000eaedda059b9ea413 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It works, thanks! But the mentioning of texmf.cnf and OSFONTDIR in https://wiki.contextgarden.net/index.php?title=3DCustom_Configuration&oldid= =3D24290 is indeed a bit misleading though. Hope someone could fix it. On Wed, Jan 8, 2020 at 11:39 AM Aditya Mahajan wrote: > On Wed, 8 Jan 2020, Exp wrote: > > > I've put `OSFONTDIR=3D/usr/share/fonts` in ~/.../texlive/2019/texmf.cnf= , > > but `mtxrun --script fonts --reload` refuses to look it up, even though > > `kpsewhich --expand-path '$OSFONTDIR'` gives /usr/share/fonts. > > > > `export OSFONTDIR=3D/usr/share/fonts` does work, but doesn't feel very > tex-y. > > Context (MkIV) uses variables defined in texmfcnf.lua and not texmf.cnf. > You can copy the one that comes with texlive (should be in $TEXMF/web2c > directory) to $TEXMFHOME/web2c and edit it. > > You can check the value of a variable using > > mtxrun --expand-var OSFONTDIR > mtxrun --expand-path OSFONTDIR > mtxrun --resolve-path OSFONTDIR > > Aditya > > _________________________________________________________________________= __________ > 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 =E8=83=A1=E6=A0=91=E4=BC=9F PKU EECS 2012 --000000000000eaedda059b9ea413 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It works, thanks!

But the me= ntioning of texmf.cnf and OSFONTDIR in https://wik= i.contextgarden.net/index.php?title=3DCustom_Configuration&oldid=3D2429= 0 is indeed a bit misleading though. Hope someone could fix it.

On W= ed, Jan 8, 2020 at 11:39 AM Aditya Mahajan <adityam@umich.edu> wrote:
On Wed, 8 Jan 2020, Exp wrote:

> I've put `OSFONTDIR=3D/usr/share/fonts` in ~/.../texlive/2019/texm= f.cnf,
> but `mtxrun --script fonts --reload` refuses to look it up, even thoug= h
> `kpsewhich --expand-path '$OSFONTDIR'` gives /usr/share/fonts.=
>
> `export OSFONTDIR=3D/usr/share/fonts` does work, but doesn't feel = very tex-y.

Context (MkIV) uses variables defined in texmfcnf.lua and not texmf.cnf. You can copy the one that comes with texlive (should be in $TEXMF/web2c directory) to $TEXMFHOME/web2c and edit it.

You can check the value of a variable using

mtxrun --expand-var OSFONTDIR
mtxrun --expand-path OSFONTDIR
mtxrun --resolve-path OSFONTDIR

Aditya
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________


--
=E8=83=A1=E6=A0=91=E4=BC=9F
PKU EECS 2= 012
--000000000000eaedda059b9ea413-- --===============4157141987735196993== 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== --===============4157141987735196993==--