Taco,

Yes.

ncntrsbk $ pwd
/usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/ncntrsbk
ncntrsbk $

What if I deleted all of the --ro=TEXMFMAIN switches from type- tmf.dat? Would texfont then search on its own for the right place?

data $ texfont --help

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

--fontroot=path : texmf destination font root (default: /usr/ local/tetex/share/texmf.local) --rootlist=paths : texmf source roots (default: TEXMFFONTS,TEXMFLOCAL,TEXMFEXTRA,TEXMFMAIN,TEXMFDIST)

This seems to say it would search on its own, so I am curious as to why the --ro=TEXMFMAIN switches are in type-tmf.dat.

Thanks for the help. Learning a lot. :-)

On Nov 20, 2005, at 12:00 PM, Taco Hoekwater wrote:

David Arnold wrote:

Taco,
This is great help. It almost worked.
share $ TEXMFMAIN=/usr/local/teTeX/share/texmf.tetex
share $ export TEXMFMAIN
data $ texfont --encoding=texnansi --batch type-tmf.dat
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
data $
Is it trying to back up a directory? How come.


The error reporting is being somewhat silly, I think.
It assumedly is talking about

  /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/ncntrsbk

Does that folder exist?

Taco



On Nov 20, 2005, at 11:39 AM, 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

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
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context



David
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context


_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context



David


_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to