[lltx] luamplib (a nil value)
Arno Trautmann
Arno.Trautmann at gmx.de
Sat Dec 25 14:38:07 CET 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/lualatex-dev/attachments/20101225/1ac68ced/attachment.bin>
More information about the lualatex-dev
mailing list