On 27-8-2010 8:17, Nicola wrote:
In article
, Mojca Miklavec wrote: TEXMFCACHE is not used by MKII (neither in pdfTeX nor in XeTeX).
Right. I have tried
unset TEXMFCACHE texexec hello.tex
in the command line and it just runs texexec (as expected).
But from TeXShop (using the engines for MKII and XeTeX described at http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation), for some reason mtxrun is run before texexec on the first compilation, which creates the cache in the location specified by texmfcnf.lua (unless I set TEXMFCACHE). And sourcing setuptex doesn't change anything. Maybe some other environment variable should be set in those engines?
we used to have texmfstart as script runner (all scripts are located and started by a runner which is faster than using some kpse locator esp when having nested runs as with metafun in mkii) so, texexec used to be texmfstart texexec however, nowadays mtxrun is the runner and it replaces texmfstart for mkii as well and in order to do this, it needs the file database and that one ends up in the cache so even for mkii there is a cache needed (when I'm in the mood I'll check the lua texutil variant in which case we can also kick out ruby which is currently only needed for mkii) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------