* OSFONTDIR defined in texmf.cnf not used
@ 2020-01-08 10:24 Exp
2020-01-08 10:39 ` Aditya Mahajan
0 siblings, 1 reply; 5+ messages in thread
From: Exp @ 2020-01-08 10:24 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 318 bytes --]
Hi all,
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.
Any help is appreciated.
[-- Attachment #1.2: Type: text/html, Size: 456 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSFONTDIR defined in texmf.cnf not used
2020-01-08 10:24 OSFONTDIR defined in texmf.cnf not used Exp
@ 2020-01-08 10:39 ` Aditya Mahajan
2020-01-08 10:48 ` Exp
0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2020-01-08 10:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSFONTDIR defined in texmf.cnf not used
2020-01-08 10:39 ` Aditya Mahajan
@ 2020-01-08 10:48 ` Exp
2020-01-08 15:36 ` Henning Hraban Ramm
0 siblings, 1 reply; 5+ messages in thread
From: Exp @ 2020-01-08 10:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSFONTDIR defined in texmf.cnf not used
2020-01-08 10:48 ` Exp
@ 2020-01-08 15:36 ` Henning Hraban Ramm
2020-01-08 15:54 ` Exp
0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2020-01-08 15:36 UTC (permalink / raw)
To: ntg-context
Am 08.01.20 um 11:48 schrieb Exp:
> 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.
The environment variable OSFONTDIR, to be set in .bashrc, .profile or
the like, works as well.
There’s unfortunately still a lot of outdated information in the wiki.
But it’s a wiki, you can fix it yourself.
Why do you refer to an old revision of that page?
Best regards, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSFONTDIR defined in texmf.cnf not used
2020-01-08 15:36 ` Henning Hraban Ramm
@ 2020-01-08 15:54 ` Exp
0 siblings, 0 replies; 5+ messages in thread
From: Exp @ 2020-01-08 15:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1879 bytes --]
>
> There’s unfortunately still a lot of outdated information in the wiki.
> But it’s a wiki, you can fix it yourself.
>
I can indeed edit the wiki and in fact I did four days ago, but for this
specific problem which just confused me,
I don't think I am the correct one to be able to guarantee that an edit of
it is necessary a fix.
Why do you refer to an old revision of that page?
>
It's not an old version. It's a permanent link to the most recent version
at the time of writing.
On Wed, Jan 8, 2020 at 4:37 PM Henning Hraban Ramm <texml@fiee.net> wrote:
> Am 08.01.20 um 11:48 schrieb Exp:
> > 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.
>
> The environment variable OSFONTDIR, to be set in .bashrc, .profile or
> the like, works as well.
>
> There’s unfortunately still a lot of outdated information in the wiki.
> But it’s a wiki, you can fix it yourself.
> Why do you refer to an old revision of that page?
>
> Best regards, Hraban
> ---
> https://www.fiee.net
> http://wiki.contextgarden.net
> https://www.dreiviertelhaus.de
> GPG Key ID 1C9B22FD
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
--
Shuwei Hu
TU München
Department of Informatics
[-- Attachment #1.2: Type: text/html, Size: 3478 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-01-08 15:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 10:24 OSFONTDIR defined in texmf.cnf not used Exp
2020-01-08 10:39 ` Aditya Mahajan
2020-01-08 10:48 ` Exp
2020-01-08 15:36 ` Henning Hraban Ramm
2020-01-08 15:54 ` Exp
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).