Re: [NTG-context] file name resolving for lua files

2009-12-18 Thread Hans Hagen
Aditya Mahajan wrote: On Thu, 17 Dec 2009, Hans Hagen wrote: Aditya Mahajan wrote: path ... i think that your match is related to the more or less random way paths are created under $TEXMF/scripts/context// normally stubs come after lua but maybe not on your machine so, we might better us

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Aditya Mahajan
Also, mtxrun and luatools do not set the exit flag correctly in case of a failure. For example, (in the old setup) $mtxrun --selfupdate MTXrun | fileio: to be replaced old script /opt/context-minimals/texmf-linux-64/bin/mtxrun MTXrun | fileio: using suffix based filetype 'texmfscripts' MTXrun

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Aditya Mahajan
On Thu, 17 Dec 2009, Hans Hagen wrote: Aditya Mahajan wrote: path ... i think that your match is related to the more or less random way paths are created under $TEXMF/scripts/context// normally stubs come after lua but maybe not on your machine so, we might better use this: $TEXMF/scripts

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Hans Hagen
Aditya Mahajan wrote: path ... i think that your match is related to the more or less random way paths are created under $TEXMF/scripts/context// normally stubs come after lua but maybe not on your machine so, we might better use this: $TEXMF/scripts/context/{lua,ruby,perl}// (i cc mojca f

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Hans Hagen
Aditya Mahajan wrote: is attached. I don't know know to interpret the result, but nothing seems glaringly wrong. need some thinking ... anyhow, i get LuaTools | fileio: checking filename 'mtxrun.lua' LuaTools | fileio: file './mtxrun.lua' is not readable LuaTools | fileio: file 'c:/data/deve

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Hans Hagen
Aditya Mahajan wrote: On Thu, 17 Dec 2009, Otared Kavian wrote: Hi Aditya, On my machine (Mac OS X) the Minimals are installed and when trying what you suggest I get the correct path: localhost:~ kavian$ luatools --locate mtxrun.lua /context-minimal/tex/texmf-context/scripts/context/lua/mtx

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Aditya Mahajan
On Thu, 17 Dec 2009, Otared Kavian wrote: Hi Aditya, On my machine (Mac OS X) the Minimals are installed and when trying what you suggest I get the correct path: localhost:~ kavian$ luatools --locate mtxrun.lua /context-minimal/tex/texmf-context/scripts/context/lua/mtxrun.lua localhost:~ kav

Re: [NTG-context] file name resolving for lua files

2009-12-17 Thread Otared Kavian
Hi Aditya, On my machine (Mac OS X) the Minimals are installed and when trying what you suggest I get the correct path: localhost:~ kavian$ luatools --locate mtxrun.lua /context-minimal/tex/texmf-context/scripts/context/lua/mtxrun.lua localhost:~ kavian$ texmfstart --locate mtxrun.lua /context-

[NTG-context] file name resolving for lua files

2009-12-16 Thread Aditya Mahajan
Hi, I have noticed that my local context update scripts were not always working correctly. In particular, the mtxrun and luatools file never got updated. The reason is the following. When I run mtxrun --selfupdate I get mtxrun --selfupdate MTXrun | fileio: to be replaced old script