Re: [NTG-context] Can't find recommended tool

2013-06-23 Thread Pablo Rodríguez
On 23/06/13 08:09, d.henman wrote:
 
 Pable,
 thanks, but it doesn't work. so easily. mxtrun only see what is in
 the TeX directory tree and uses that font database. My question is
 how to register the font to that system so that mtxrun can find it.
 How does one do that with a ttf font file?
 
 Thanks

The variable is (I'm assuming you use Windows [I don't know whether this
have changed in versions above XP]):

OSFONTDIR=c:/windows/fonts//

If I'm not wrong, you should add this into your texmf.cnf file (invoke
it with kpsewhich texmf.cnf).

Rebuild the font cache (mtxrun --script fonts --reload) and it should
work.

I hope this helps,


Pablo
-- 
http://www.ousia.tk
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Can't find recommended tool

2013-06-23 Thread Hans Hagen

On 6/23/2013 2:58 PM, Pablo Rodríguez wrote:

On 23/06/13 08:09, d.henman wrote:


Pable,
thanks, but it doesn't work. so easily. mxtrun only see what is in
the TeX directory tree and uses that font database. My question is
how to register the font to that system so that mtxrun can find it.
How does one do that with a ttf font file?

Thanks


The variable is (I'm assuming you use Windows [I don't know whether this
have changed in versions above XP]):

OSFONTDIR=c:/windows/fonts//

If I'm not wrong, you should add this into your texmf.cnf file (invoke
it with kpsewhich texmf.cnf).

Rebuild the font cache (mtxrun --script fonts --reload) and it should
work.

I hope this helps,


mkiv does not use kpse and texmf.cnf but texmfcnf.lua

also, OSFONTDIR is already set

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___