David, Sorry I've been quiet on this front. I've been busy with other, non- ConTeXt things for a while, and am in the process of re-engaging with it. In order to run type-tmf.dat, you need a way around the hard-coded -- rootlist=TEXMFMAIN that's in the .dat file. gwTeX keeps the fonts we need in what it calls the TEXMFTE directory. My brutish workaround is as follows: 1) Go to some temp directory. 2) copy type-tmf into that directory: cp /usr/local/teTeX/share/texmf.local/context/data/type-tmf.dat . 3) munge type-tmf to something more gwTeX friendly: sed "s/TEXMFMAIN/TEXMFTE/" type-tmf.dat > type-tmf-gw.dat (literally: replace every occurrence of TEXMFMAIN with TEXMFTE and put it in type-tmf-gw.dat) 4) run texfont (prepend with sudo if you have errors): texfont type-tmf-gw.dat 5) run it again, if you want the ec encoding: texfont --en=ec type-tmf-gw.dat 6) process one or two test files to see if it really worked: texexec --once --mode=compact texnansi-urw-bookman.tex I hope that works for you. Gerben, Hans, can you think of a way to make this workaround unnecessary? adam David Arnold said this at Tue, 22 Nov 2005 09:08:17 -0800:
Hans,
When I try:
011-101:/usr/local/teTeX/share/texmf.local/context/data davidarnold$ sudo texfont --encoding=texnansi -batch type-tmf.dat
I get a slew of messages similar to this last one:
TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
slant factor : 0.167 checking root : TEXMFMAIN processing aborted : unknown subpath ../fonts/afm/urw/ncntrsbk
--help : show some more info
Some extra information:
texexec --verbose reports:
applications will use : /usr/local/teTeX/texmf.cnf
This last file is attached.
On Nov 22, 2005, at 7:32 AM, Hans Hagen wrote:
David Arnold wrote:
Taco et al,
OK, this didn't work. Log file attached.
? ?\usetypescript[palatino][texnansi] ? \switchtobodyfont[palatino] ? \starttext ? Hello World! ? \stoptext
no logfile -)
for that one you need to run
texfont --encoding=texnansi --batch type-tmf.dat
(since you are familiar with texnansi .... although better than ec, this encoding was never really supported in distributions, only by mouh, which is why you need to generate metrics yourself)
This one worked.
?\usetypescript[adobekb][8r,ec] ? \usetypescript[palatino][ec] ? \switchtobodyfont[palatino] ? \starttext ? Hello World! ? \stoptext
Two questions:
1. I don't know why one worked and the other didn't. What files could I look at in my tex tree that would give a hint as to which to use?
2. How can I make the first one work?
use texfont (or take cont-fnt from the website)
Hans _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-