[tex-live] kpsewhich search order and how to change it

Philip K.F. Hölzenspies p.k.f.holzenspies at utwente.nl
Fri Nov 16 15:29:37 CET 2007


On Friday 16 November 2007 15:17:45 Norbert Preining wrote:
> > Can anyone explain this? Is there a way to force the use of files in my
> > own texmf?
>
> Do you have ~/texmf/ls-R ? If yes, it could be outdated. If no, strange.
>
> Remove it, it should not be necessary, TEXMFHOME is searched without
> ls-R (i.e., doesn't have leading !! in texmf.cnf)

Dear Norbert, all,

The ls-R in my texmf was where kpsewhere found the files in the first place, I 
think. I deleted ~/texmf/ls-R. Results are the same, only much, much slower. 
After rehashing (i.e. making a new ls-R), the results are still the same.

Indifferent of where the information came from, though, isn't it extremely odd 
that kpsewhere gives my ~/texmf/* results first for both files and kpsewhich 
returns different texmfs?

Just in case, I've appended the output of "texconfig conf" to the end of this 
e-mail.

Regards,
Philip




holzensp:~> texconfig conf
=========================== version information ==========================
teTeX-src release:   (info not available)
teTeX-texmf release: (info not available)

==================== binaries found by searching $PATH ===================
PATH=/usr/local/texlive/2007/bin/i386-linux:/opt/kde3/bin:/home/aid/holzensp/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/eclipse:/opt/cosy:/home/aid/holzensp/bin:/Appl/TeX/bin/i386-linux
kpsewhich: /usr/bin/kpsewhich
updmap: /usr/bin/updmap
fmtutil: /usr/bin/fmtutil
texconfig: /usr/bin/texconfig
tex: /usr/bin/tex
pdftex: /usr/bin/pdftex
mktexpk: /usr/bin/mktexpk
dvips: /usr/bin/dvips
dvipdfm: /usr/bin/dvipdfm

=========================== active config files ==========================
/etc/texmf/tex/generic/config/pdftexconfig.tex
/etc/texmf/web2c/fmtutil.cnf
/etc/texmf/web2c/mktex.cnf
/etc/texmf/web2c/texmf.cnf
/etc/texmf/web2c/updmap.cfg
/home/aid/holzensp/texmf/dvips/config/config.ps
/home/aid/holzensp/texmf/xdvi/XDvi
/usr/share/texmf/dvipdfm/config/config

============================= font map files =============================
psfonts.map: /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map
pdftex.map: /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map: /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
dvipdfm.map: /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map

=========================== kpathsea variables ===========================
TEXMFMAIN=/usr/share/texmf
TEXMFDIST=/usr/share/texmf/contrib
TEXMFLOCAL=/usr/local/share/texmf
TEXMFSYSVAR=/var/lib/texmf
TEXMFSYSCONFIG=/etc/texmf
TEXMFVAR=/var/lib/texmf
TEXMFCONFIG=/home/aid/holzensp/texmf
TEXMFHOME=/home/aid/holzensp/texmf
VARTEXFONTS=/var/cache/fonts
TEXMF={/home/aid/holzensp/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf/contrib}
SYSTEXMF=/etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/local/share/texmf:/usr/share/texmf/contrib
TEXMFDBS=/home/aid/holzensp/texmf:/usr/local/share/texmf:/etc/texmf:/var/lib/texmf:/usr/share/texmf::/var/cache/fonts
WEB2C=/home/aid/holzensp/texmf/web2c:/etc/texmf/web2c:/var/lib/texmf/web2c:
{/home/aid/holzensp/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf/contrib}/web2c
TEXPSHEADERS=.:
{/home/aid/holzensp/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf/contrib}/{dvips,fonts/{enc,type1,type42,type3}}//
TEXCONFIG={/home/aid/holzensp/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf/contrib}/dvips//
ENCFONTS=.:
{/home/aid/holzensp/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf/contrib}/fonts/enc//
TEXFONTMAPS=.:
{/home/aid/holzensp/texmf,!!/etc/texmf,!!/var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf/contrib}/fonts/map/{kpsewhich,pdftex,dvips,}//

==== kpathsea variables (from environment only; ok if no output here) ====
TEXINPUTS=::/home/aid/holzensp/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/home/aid/holzensp/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX


More information about the tex-live mailing list