[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:



Having just updated TeXlive and TLcontrib, I get:

! 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

	...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:146: in
function 'repo
	...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:173: in
function 'proc
	...live2010/texmf-dist/tex/luatex/luamplib/luamplib.lua:101: in
function 'proc
	<\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
Alternatively (more likely), I am doing something wrong – but what?

I’ll be happy for any comments,


-------------- 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