On 08/10/2011 03:56 PM, Hongwen Qiu wrote:
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)
But if we call the file "test+Fig.tex" instead of "test.Fig.tex" or "testFig.tex", then it still can't compile. The top file is created as the name "test+Fig.top" correctly, but at the beginning, it still output the line: system > no test+Fig.top Since I don't know which script dealt with loading the .top file, I can't fix this one.