On 20 Nov 2005, at 20:39, Taco Hoekwater wrote:
David Arnold wrote:
Gerben, Taco, OK, I am using Gerben's Context Updated with a beta, so I think what's running is the context in texmf.local. I have two type- tmf.dat. lm $ locate type-tmf.dat /usr/local/teTeX/share/texmf.local/context/data/type-tmf.dat /usr/local/teTeX/share/texmf.tetex/context/data/type-tmf.dat lm $ Does it matter which of these I use?
Take the one in texmf.local. It should not make a lot of difference, but that one is the latest, and also it belongs to the ConTeXt you are running.
Before I run "texfont --encoding=texnansi --batch type-tmf.dat," two things: 1. How do I figure out whether to set TEXMFMAIN or TEXMFDIST? That is, how can I tell where these environment variables point?
kpsewhich --expand-var \$TEXMFMAIN
expands the variable TEXMFMAIN (on the terminal). I'm not sure which one you need, because I am not familiar with gwTeX. You need the one that contains the afm files, like uhvr8a.afm. For me that file is in:
/usr/local/teTeX/share/texmf-dist/fonts/afm/urw/helvetic/uhvr8a.afm
$ locate uhvr8a.afm /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/helvetic/uhvr8a.afm
so I needed the tree that starts with
/usr/local/teTeX/share/texmf-dist
Assuming a (ba)sh command line shell, this should do it (three lines):
lm $ TEXMFMAIN=/usr/local/teTeX/share/texmf-dist lm $ export TEXMFMAIN lm $ texfont ....
2. I could cut and paste in type-tmf.dat, but can I do it with one line in the file type-tmf.dat somehow? What would be the line I would add near the top of the file?
To answer the question anyway: I do not believe that is possible. But with the solution above, there is no need to edit type-tmf.dat.
(I hope I'm not confusing you, but I am on Linux and teTeX so being precise is hard)
Cheers, Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context