[lltx] problem with luamplib from TL2010 (pretest)
Ulrike Fischer
news3 at nililand.de
Mon Sep 13 18:59:17 CEST 2010
Am Mon, 13 Sep 2010 18:27:44 +0200 schrieb Stephan Hennig:
> Hi,
>
> I have a problem with luamplib v1.03 and lualatex v0.60.2 from TL2010
> pretest (updated today). The following TeX example successfully runs
> through luatex:
>
> \input luamplib.sty
> \mplibcode
> beginfig(1);
> draw fullcircle scaled 100;
> endfig;
> \endmplibcode
> \bye
>
> But this similar LaTeX example cannot be processed by lualatex:
>
> \listfiles
> \documentclass{article}
> \usepackage{luamplib}
> \begin{document}
> \begin{mplibcode}
> beginfig(1);
> draw fullcircle scaled 100;
> endfig;
> \end{mplibcode}
> \end{document}
>
>
> The resulting pdf file contains the literal line
>
> luamplib.processlines()
>
> plus page number. Log file attached.
>> ! Undefined control sequence.
>> \endmplibcode ...plibaddlines {memoire}\luadirect
>> {luamplib.processlines()}
>> l.9 \end{mplibcode}
Well I do have luamplib version 1.04 which avoids this error (it
should be \directlua instead of \luadirect I think) but now gives
another error with luatex and lualatex:
! LuaTeX error j:/MIKTEX2.7/tex/luatex/luamplib/luamplib.lua:74: bad
argument #2 to 'format' (string expected, got nil)
stack traceback:
[C]: in function 'format'
j:/MIKTEX2.7/tex/luatex/luamplib/luamplib.lua:74: in function 'log'
j:/MIKTEX2.7/tex/luatex/luamplib/luamplib.lua:124: in function
'load'
j:/MIKTEX2.7/tex/luatex/luamplib/luamplib.lua:170: in
function 'process'
<\directlua >:1: in main chunk.
\mplibprocess
...ectlua {luamplib.process([[#1]])}
--
Ulrike Fischer
More information about the lualatex-dev
mailing list