mktexpk can't find my fonts anymore!

Eli Zaretskii eliz@is.elta.co.il
Tue, 12 Jan 1999 10:50:23 +0200 (IST)


On Mon, 11 Jan 1999, Jody Klymak wrote:

> Actually, running mktexlsr does not make my PK files visible to kpsewhich. 

Can I have the answer to my simple question, please???

Does the c:/TeX/texmf/ls-R get updated with the newly-created
cmsy10.657pk, after mktexpk generates it?  Believe me, I insist on
asking this question because I think it can unlock your problem.  So
please, *please*, PLEASE, tell me the answer.

> Kpathsea seems to use different environment variables for different file types. 
> Unfortunately, the problem seems to be that mktexpk uses a *different* set of
> rules.

This is incorrect, unless you have overridden every default in the
book.  Since you say you are using the default out-of-the-box setup, I
don't think it's true.  mktexpk uses Kpathsea, so it cannot use any
set of rules different from what Kpathsea does.

The fact that kpsewhich doesn't find cmsy10.657pk as well is the
evidence that I'm right.

> Besides, runing mktexlsr all the time is not a very satisfying solution.

I didn't say it was a solution, I just suggested that as a means to
see whether the fact that ls-R is not updated explains why does windvi
try to rebuild an existing font.

> It would be preferable if the PK files were put in /var/tmp/texfonts
> like $VARTEXFONTS is asking them to be.

The generated fonts will be put inside $VARTEXFONTS only if the two
directories c:/TeX/texmf and c:/TeX/texmf/fonts have their read-only
bit set (use "attrrib +r" to do that).  This is explained in the docs.

> This directory doesn't rely on the ls-R files for searching.

Not true.  ls-R doesn't have to be present in *any* directory, but if
it is present, it will be used *instead* of looking into the directory
tree.  In other words, if you have ls-R, it had better listed all the
files under that directory.

Also, if ls-R does exist, mktexpk should automatically update it after
it creates new files.  So if you run mktexlsr manually inside
$VARTEXFONTS just once, the ls-R database in that directory will be
automatically updated thereafter.

This is all described in the docs, btw.