![](https://secure.gravatar.com/avatar/ed51db6a8ac3f5e4dac39df91c8fb4a2.jpg?s=120&d=mm&r=g)
On 08/09/2011 07:34 PM, Daniel Schopper wrote:
\starttext \placefigure[middle]{none}{\externalfigure[hacker]} \stoptext
in a file called "test.Fig.tex" leads to the luatex error mentioned before. The same file without a dot in its name (testFig.tex) compiles like expected. The following patch fix this one. --- a/tex/texmf-context/scripts/context/lua/mtx-context.lua 2011-08-10 15:52:03.896095268 +0800 +++ b/tex/texmf-context/scripts/context/lua/mtx-context.lua 2011-08-10 15:52:58.487970450 +0800 @@ -476,7 +476,7 @@
function scripts.context.multipass.makeoptionfile(jobname,ctxdata,kindofrun,currentrun,finalrun) -- take jobname from ctx - jobname = file.removesuffix(jobname) + --jobname = file.removesuffix(jobname) local f = io.open(jobname..".top","w") if f then local function someflag(flag)