[NTG-context] Lua error

Khaled Hosny khaledhosny at eglug.org
Thu Jan 6 07:52:16 CET 2011

I get the following error with current beta (did not happen few betas
! LuaTeX error
...text/tex/texmf-context/tex/context/base/strc-mar.lua:512: attempt to get length of upvalue 'topofstack' (a number value)
stack traceback:
        ...text/tex/texmf-context/tex/context/base/strc-mar.lua:512: in function <...text/tex/texmf-context/tex/context/base/strc-mar.lua:511>
        ...text/tex/texmf-context/tex/context/base/strc-mar.lua:517: in function 'fetched'
        ...text/tex/texmf-context/tex/context/base/strc-mar.lua:555: in function 'fetchonemark'
        ...text/tex/texmf-context/tex/context/base/strc-mar.lua:584: in function 'getmarking'
        <main ctx instance>:1: in main chunk.

Just removing the # from #topofstack on that line should do it.

(sorry no minimal example, it is rather a large file and I'm not sure
what is triggering the error).


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

More information about the ntg-context mailing list