Hi! Hans Hagen a écrit :
On 20-3-2010 12:30, Andreas Schneider wrote:
Alain Delmotte wrote:
When I want to compile the file on which I am working, I get: C:\Programmes\ConTeXt\tex\texmf-mswin\bin\mtxrun.lua:2161: stack overflow
The same happens to me, but only when I invoke "context.exe". It works fine with "context.cmd". (The same holds true for mtxrun.exe vs. mtxrun.cmd and probably others.)
can you add a print in line 2161 and see what path is reported?
function file.collapse_path(str)
print(str)
str = gsub(str,"\\","/") if find(str,"/") then It starts compiling, then give: .../... C:/Programmes/ConTeXt/tex/texmf mtx-\mtxrun.lua mtxrun.lua . c:/adel/texmf/tex/context// c:/adel/texmf/tex/plain/base// c:/adel/texmf/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-project/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-project/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-project/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-fonts/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-fonts/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-fonts/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-local/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-local/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-local/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-context/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-context/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-context/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-mswin/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-mswin/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-mswin/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-extra/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-extra/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-extra/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf/tex/context// !!C:/Programmes/ConTeXt/tex/texmf/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf/tex/generic// mtxrun.lua mtx-\mtxruns.lua mtxruns.lua mtxruns.lua mtx-\mtxrun.lua \mtxrun.lua /mtxrun.lua /mtxrun.lua /mtxrun.lua /mtxrun.lua
followed by 16371 (or so) /mtxrun.lua before /mtxrun.lua stack overflow Alain