Hi all,

I just wanted to take my first steps with luamplib using this document:

\documentclass{minimal}
\usepackage{luamplib}
\begin{document}
\begin{mplibcode}

\end{mplibcode}
\end{document}

Having just updated TeXlive and TLcontrib, I get:

(/home/texlive2010/texmf-dist/tex/luatex/luamplib/luamplib.lua))
(./test.aux)
! LuaTeX error
...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:78: atte
mpt to call field 'module_term' (a nil value)
stack traceback:
        ...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:78: in function
'term'

        ...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:146: in
function 'repo
rt'
        ...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:173: in
function 'proc
ess'
        ...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:101: in
function 'proc
esslines'
        <\directlua >:1: in main chunk.
\endmplibcode ...rectlua {luamplib.processlines()}

l.10 \end{mplibcode}

This error raises as soon as I use the mplibcode-environment.
I can only guess that luamplib.lua tries to access
luatexbase.module_term('luamplib', format(...))
in line 77. I guess further this should be defined in luatexbase, but is
not.
Alternatively (more likely), I am doing something wrong – but what?

I’ll be happy for any comments,

cheers
Arno

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to