From b1f583fe00ae14e2d2936ed1a66f0898b4f7da96 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 31 Dec 2006 00:39:55 +0000 Subject: (TEXMFDBS): do not include the normally-searched (non-!!) trees from TEXMF, because (a) mktexlsr will create ls-R's for them, and (b) kpathsea will use those ls-R's and not search the disk. Bug in there somewhere. (Noticed by Richard Koch.) git-svn-id: svn://tug.org/texlive/trunk@3046 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/web2c/texmf.cnf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Master/texmf/web2c/texmf.cnf b/Master/texmf/web2c/texmf.cnf index e832a4a7636..2daac5cdb49 100644 --- a/Master/texmf/web2c/texmf.cnf +++ b/Master/texmf/web2c/texmf.cnf @@ -131,9 +131,12 @@ VARTEXFONTS = $TEXMFVAR/fonts % Where to look for ls-R files. There need not be an ls-R in the % directories in this path, but if there is one, Kpathsea will use it. % -% Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below -% one of the TEXMF directories (avoids overlapping ls-R files). -TEXMFDBS = $TEXMF +% By default, this is only the !! elements of TEXMF, so that mktexlsr +% does not create ls-R files in the non-!! elements -- because if an +% ls-R is present, it will be used, and the disk will not be searched. +% This is arguably a bug in kpathsea, but we will not think about it now. +% +TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST} % It may be convenient to define TEXMF like this: % TEXMF = {$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME} @@ -153,6 +156,9 @@ TEXMFDBS = $TEXMF % is used on many Linux systems. In this case, set VARTEXFONTS like this % VARTEXFONTS = $TEXMFVAR/fonts % and do not mention it in TEXMFDBS (but _do_ mention TEXMFVAR). +% +% Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below +% one of the TEXMF directories (avoids overlapping ls-R files). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3