[tex-live] mtxrun should write user luatex-cache to a user directory

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Aug 1 14:20:06 CEST 2011


On Mon, Aug 1, 2011 at 14:12, Vladimir Lomov <lomov.vl at gmail.com> wrote:
> Hi.
> According to $TEXLIVEROOT/texmf/web2c/texmfcnf.lua
> the generated cache is placed in TEXMFSYSVAR but not in
> TEXMFVAR[=$HOME/.texlive2011/texmf-var].
>
> Is that on purpose or just a "bug"?
>
> Offending lines in texmfcnf.lua:
> [file="texmfcnf.lua"]
> ...
>            -- We have only one cache path but there can be more. The first writable one
>            -- will be chosen but there can be more readable paths.
>
>            TEXMFCACHE      = "$TEXMFSYSVAR;$TEXMFVAR",
>            TEXMFCONFIG     = "home:.texlive2011/texmf-config",
> ...
> [/file]

If TEXMFSYSVAR is writable, the cache goes to TEXMFSYSVAR. If it is
not, the cache goes to TEXMFVAR. The idea behind this is that
installer updates the cache when new packages are added, while users
can still generate their own cache.

Do you experience any problems with that?

Mojca



More information about the tex-live mailing list