[tex-live] kpsewhich and texmf-var

Hartmut Henkel hartmut_henkel at gmx.de
Fri Feb 2 10:58:20 CET 2007


On Fri, 2 Feb 2007, Frank Küster wrote:
> Hartmut Henkel <hartmut_henkel at gmx.de> wrote:
> > is there a trick to get the right path in these cases:

> > $ kpsewhich fmtutil.cnf
> > /usr/local/texlive/2007/texmf/web2c/fmtutil.cnf

> I'm confused, because in teTeX "the tools" (i.e. texconfig-sys,
> updmap-sys --$edit_option) put the changed files in TEXMFSYSCONFIG,
> not TEXMFSYSVAR, and I am not aware of differences between teTeX and
> TeX Live in this respect.  Only the automatically generated files
> (e.g. updmap's output and the format dumps) are in TEXMFSYSVAR.

the following is from a fresh 070128-live install.

/usr/local/texlive/2007$ find . -name fmtutil.cnf
./texmf-var/web2c/fmtutil.cnf
./texmf/web2c/fmtutil.cnf

/usr/local/texlive/2007$ kpsewhich fmtutil.cnf
/usr/local/texlive/2007/texmf/web2c/fmtutil.cnf

but the one in texmf-var is the relevant one for the user, tweaking the
other has no effect.

> So pdftexconfig.tex seems to be at the right place.

now i get:

/usr/local/texlive/2007$ find . -name pdftexconfig.tex
./texmf-var/tex/generic/config/pdftexconfig.tex
./texmf/tex/generic/config/pdftexconfig.tex

/usr/local/texlive/2007$ kpsewhich pdftexconfig.tex
/usr/local/texlive/2007/texmf-var/tex/generic/config/pdftexconfig.tex

i can't confirm right now that the 2nd is indeed used.

> Where is actually XDvi?

$ find . -name XDvi
./texmf-var/xdvi/XDvi
./texmf/xdvi/XDvi

and the 1st one should be used, ok, just not shown by kpsewhich.

Regards, Hartmut


More information about the tex-live mailing list