[tex-live] Fwd: [MacTeX] Just Noticed...

Herbert Schulz herbs at wideopenwest.com
Wed Jun 23 21:07:37 CEST 2010


Howdy,

The following is from Bruno Voisin on the MacTeX mailing list. It seems very relevant! Is there a typo in otfl-font-dum.lua? Is TEXMFVAR mistyped as VARTEXMF?

Begin forwarded message:

> From: Bruno Voisin <bvoisin at me.com>
> Date: June 23, 2010 1:58:05 PM CDT
> To: "MacOS X and TeX." <mactex at tug.org>
> Subject: Re: [MacTeX] Just Noticed...
> Reply-To: "MacOS X and TeX." <mactex at tug.org>
> 
> Le 23 juin 2010 à 11:40, Bruno Voisin a écrit :
> 
>> So far I thought TEXMFCACHE was set in texmfcnf.lua, with default as of /usr/local/texlive/2010/texmf/web2c/texmfcnf.lua namely
>> 
>> TEXMFCACHE = '~/.texlive2010/texmf-var'
>> 
>> and local setting as of /usr/local/texlive/2010/texmfcnf.lua namely
>> 
>> TEXMFCACHE = '~/Library/texlive/2010/texmf-var'
>> 
>> So what you're saying is that these settings basically are no longer used and must be set in texmf.cnf instead?
> 
> I've been looking at where TEXMFCACHE is used, but didn't get much success. It seems TEXMFCACHE is only used in /usr/local/texlive/2010/texmf-dist/tex/luatex/luaotfload/otfl-font-dum.lua, through
> 
>    local cachepaths = kpse.expand_path('$TEXMFCACHE') or ""
> 
>    if cachepaths == "" then
>        cachepaths = kpse.expand_path('$VARTEXMF')
>    end
> 
>    if cachepaths == "" then
>        cachepaths = "."
>    end
> 
> 
> If I'm interpreting things correctly, this means the current directory is used for storing the cache when neither TEXMFCACHE nor VARTEXMF are defined.
> 
> Two remarks:
> 
> - texmf.cnf defines TEXMFVAR not VARTEXMF. Is this a typo, or am I mixing things up?
> 
> - This seems to say for some reason the definition of TEXMFCACHE in texmfcnf.lua isn't seen.
> 
> Bruno

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the tex-live mailing list