diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-31 00:39:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-31 00:39:55 +0000 |
commit | b1f583fe00ae14e2d2936ed1a66f0898b4f7da96 (patch) | |
tree | a5d14ebb5962921434558d4a8a3e5131b1f1a5fd | |
parent | a607ac7439be298ee88f44c633158e50c941a2a8 (diff) |
(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
-rw-r--r-- | Master/texmf/web2c/texmf.cnf | 12 |
1 files 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). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |