Luatex cache problems with current beta
Hi Hans , Hi all, with the latest beta only luatools --generate generates cachefiles for the trees. context --generate gives: C:\contextminimal>context --generate context --generate MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Since some days ago I have two luatex-cache folders, one under c:\Temp and one under c:\contextminimal\texmf-cache. That's why I deleted both at the last ConTeXt update today. setuptex.bat sets TEXMFCACHE to c:\contextminimal\texmf-cache. It seems, that luatools writes the cachfiles to the right directory, but context tries to read from c:\Temp\luatex-cache, which not exists. Greetings Lutz
Lutz Haseloff wrote:
Hi Hans , Hi all,
with the latest beta only luatools --generate generates cachefiles for the trees. context --generate gives:
C:\contextminimal>context --generate context --generate MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Since some days ago I have two luatex-cache folders, one under c:\Temp and one under c:\contextminimal\texmf-cache. That's why I deleted both at the last ConTeXt update today.
setuptex.bat sets TEXMFCACHE to c:\contextminimal\texmf-cache.
It seems, that luatools writes the cachfiles to the right directory, but context tries to read from c:\Temp\luatex-cache, which not exists.
maybe your system has 'short filenames' enabled (no longer needed in xp/vista) which then might confuse luatools (env var etc) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
works ok again, thanks!
2009/8/18 Hans Hagen
Lutz Haseloff wrote:
Hi Hans , Hi all,
with the latest beta only luatools --generate generates cachefiles for the trees. context --generate gives:
C:\contextminimal>context --generate context --generate MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Since some days ago I have two luatex-cache folders, one under c:\Temp and one under c:\contextminimal\texmf-cache. That's why I deleted both at the last ConTeXt update today.
setuptex.bat sets TEXMFCACHE to c:\contextminimal\texmf-cache.
It seems, that luatools writes the cachfiles to the right directory, but context tries to read from c:\Temp\luatex-cache, which not exists.
maybe your system has 'short filenames' enabled (no longer needed in xp/vista) which then might confuse luatools (env var etc)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
On Tue, Aug 18, 2009 at 7:58 AM, Lutz Haseloffwrote: > Hi Hans , Hi all, > > with the latest beta only luatools --generate generates cachefiles for the > trees. > context --generate gives: > > C:\contextminimal>context --generate > context --generate > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' It happens here on my linux box sometimes, when I copy trees from one folder to another. I do these 1) ensure that all scripts in tex/texmf-context/scripts are excutable 2) cd tex/texmf-context/scripts/context/lua 3) context --generate -- luigi
participants (3)
-
Hans Hagen
-
luigi scarso
-
Lutz Haseloff