[OS X TeX] Building new formats (MacTeX) (error correction)

Gerben Wierda Gerben.Wierda at rna.nl
Tue Sep 19 09:50:53 EDT 2006


Error correction:

>>> On 17-sep-2006, at 22:23, Rowland McDonnell wrote:
>>> > I do know that:
>>> >
>>> > Hattie:teTeX rowland$ kpsewhich language.dat
>>> > /usr/local/teTeX/share/texmf.gwtex/tex/generic/config/language.dat
>>> >
>>> > and
>>> >
>>> > Hattie:teTeX rowland$ find . -name "language.dat"
>>> > ./share/texmf.gwtex/tex/generic/config/language.dat
>>> > ./share/texmf.tetex/tex/generic/config/language.dat
>>> > ./share/texmf.tetex/tex/lambda/config/language.dat
>>> > ./share/texmf.tetex/tex/platex/config/language.dat
>>> >
>>> > which doesn't help me much.  What gets used for what, and when, and
>>> > why? I don't know and can't find out yet.
>
> Which file is found depends on two things (in the following order):
> 1. Which program is trying to find it (e.g. pdftex, tex, dvips, platex)
> 2. In which tree it located (e.g. texmf.tetex, texmf.local,
> /Users/texmf.rjmm)
>
> Try the following commands:
>
> kpsewhich -progname=platex language.dat
> kpsewhich -progname=lambda language.dat
> kpsewhich -progname=pdftex language.dat
>
> These commands emulate respectively platex, lambda and pdftex trying to
> find language.dat. platex will probably find
>     [...]texmf.tetex/tex/platex/config/language.dat
> lambda will probably find
>     [...]texmf.tetex/tex/lambda/config/language.dat
> pdftex (and pdflatex, tex, latex, etc) will probably find
>     [...]texmf.local/tex/generic/config/language.dat

The next part is wrong:

> Note that your find command above was not exercized on the tree where your
> actual active TeX lives, or find would also had found language.dat in
> texmf.local. (I type [...] because I am lazy).

because I misread texmf.gwtex as texmf.local when reading the output of
Rowland's kpsewhich command.

G


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list