with the latest beta (as well as experimental)
\setupbodyfont[dejavu] \starttext test \stoptext
breaks with
! LuaTeX error ...xt-new/tex/texmf-context/tex/context/base/l-file.lua:121: bad argument #1 to 'find' (string expected, got nil)
Hi, I recently noticed a similar, maybe related problem. Saving this \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. Tested with ConTeXt ver: 2011.08.04 00:42 MKIV fmt: 2011.8.9 int: english/english on Mac OS X 10.6. Regards Daniel Here’s the stacktrace: ! LuaTeX error ...xtBeta/tex/texmf-context/tex/context/base/l-file.lua:232: bad argument #1 to 'find' (string expected, got nil) stack traceback: [C]: in function 'find' ...xtBeta/tex/texmf-context/tex/context/base/l-file.lua:232: in function 'collapsepath' ...Beta/tex/texmf-context/tex/context/base/grph-inc.lua:382: in function 'forbiddenname' ...Beta/tex/texmf-context/tex/context/base/grph-inc.lua:396: in function <...Beta/tex/texmf-context/tex/context/base/grph-inc.lua:394> (tail call): ? ...Beta/tex/texmf-context/tex/context/base/grph-inc.lua:751: in function 'identifier' ...Beta/tex/texmf-context/tex/context/base/grph-inc.lua:769: in function 'identify' <main ctx instance>:1: in main chunk. system > tex > error on line 3 in file test.Fig.tex: LuaTeX error ... 1 \starttext 2 \startalignment[middle] 3 >> \placefigure[middle]{none}{\externalfigure[hacker]} 4 \stopalignment 5 \stoptext 6 \calculateexternalfigure ...a {figures.identify()} \ifconditional \testextern... \dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5] \dotagfigure \naturalvbox ... \doexternalfigure ...value {\??ef \??ef #1}[#3]}}} \globallet \currentresourc... <to be read again> }