Am 22.11.2009 um 14:41 schrieb Mojca Miklavec:
On Sat, Nov 21, 2009 at 19:49, Andreas Harder wrote:
Hi,
if I try to run $ mtxrun --script fonts –reload it ends with: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value)
What operating system?
I'm on OS-X 10.6 and using the newest beta.
I don't know if that can be a problem, but some platforms don't have LuaTeX beta-0.45.0 yet (freebsd, linux and linux-ppc; if you are on Mac, you can try to update once again).
I tired again, the result is the same error. If I run the test file from my initial post: \definefont[test][name:minionpro-regular] % font is not in TeX-tree \starttext \test Hallo Welt, das ist ein Test \stoptext the error message is more verbose, perhaps it can help. ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: in function 'resetdata' ...text/tex/texmf-context/tex/context/base/font-syn.lua:671: in function 'identify' ...text/tex/texmf-context/tex/context/base/font-syn.lua:696: in function 'load' ...text/tex/texmf-context/tex/context/base/font-syn.lua:707: in function 'load' ...text/tex/texmf-context/tex/context/base/font-syn.lua:844: in function 'resolve' ...text/tex/texmf-context/tex/context/base/font-def.lua:243: in function 'r' ...text/tex/texmf-context/tex/context/base/font-def.lua:270: in function 'resolve' ...text/tex/texmf-context/tex/context/base/font-def.lua:574: in function 'read' ...text/tex/texmf-context/tex/context/base/font-ctx.lua:359: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \dododefinefont ...inefont {#2}\rawfontidentifier \csname \rawfontidentifier... l.5 \test Hallo Welt, das ist ein Test Greetings Andreas