ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Exp <exprosic@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: OSFONTDIR defined in texmf.cnf not used
Date: Wed, 8 Jan 2020 11:48:56 +0100	[thread overview]
Message-ID: <CALy-6cGwm3oxGFKbYsRyFNW+wyfC9RoOEpCV7SByDivU+CmCnw@mail.gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.76.2001080533140.10488@nqv-guvaxcnq>


[-- Attachment #1.1: Type: text/plain, Size: 1576 bytes --]

It works, thanks!

But the mentioning of texmf.cnf and OSFONTDIR in
https://wiki.contextgarden.net/index.php?title=Custom_Configuration&oldid=24290
is indeed a bit misleading though. Hope someone could fix it.

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

> On Wed, 8 Jan 2020, Exp wrote:
>
> > I've put `OSFONTDIR=/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=/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
>
> ___________________________________________________________________________________
>


-- 
胡树伟
PKU EECS 2012

[-- Attachment #1.2: Type: text/html, Size: 2621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-01-08 10:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08 10:24 Exp
2020-01-08 10:39 ` Aditya Mahajan
2020-01-08 10:48   ` Exp [this message]
2020-01-08 15:36     ` Henning Hraban Ramm
2020-01-08 15:54       ` Exp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALy-6cGwm3oxGFKbYsRyFNW+wyfC9RoOEpCV7SByDivU+CmCnw@mail.gmail.com \
    --to=exprosic@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).