I summarized this small discussion in the wiki as I also made a systemwide installation (http://wiki.contextgarden.net/ConTeXt_Minimals#Cache) Nicola wrote:
In article
, Mojca Miklavec wrote: The variable TEXMFCACHE is set in tex/texmf/web2c/texmfcnf.lua and that one should do the job. Under usual circumstances at least.
If that one is not being respected, something might be wrong. Do you have any other texmfcnf.lua file somewhere else?
No, I export TEXMFCACHE in my .profile, because I want the cache to be inside my home folder. After running setuptex, ConTeXt minimals uses that rather than the path specified in texmfcnf.lua. Since now I know that luatex-cache can be shared, for me this is perfectly fine. I just had to adjust the TeXShop engines (I am on Mac OS X) by explicitly setting TEXMFCACHE for XeTeX and MKII, besides MKIV.
So, if I get it right, the value in texmfcnf.lua is used unless TEXMFCACHE is set.
Nicola
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________