[lltx] luamplib + lualatex

Troy Henderson thenders at gmail.com
Thu Jul 25 06:00:07 CEST 2013


I must be missing something because when I use the following:

\documentclass{minimal}
\usepackage{luamplib}
\mplibpreamble{ u:=108; }
\begin{document}
	\begin{mplibcode}
		beginfig(1);
			draw fullcircle scaled (2*u);
		endfig;
	\end{mplibcode}
\end{document}

I get the following error(s):

Troy

--

This is LuaTeX, Version beta-0.76.0-2013052800 (rev 4627)
 restricted \write18 enabled.
(./foo.ltx
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 4 languages loaded.
(/usr/local/texlive/current/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (./luamplib.sty
(/usr/local/texlive/current/texmf-dist/tex/luatex/luatexbase/luatexbase-modutil
s.sty (/usr/local/texlive/current/texmf-dist/tex/generic/oberdiek/ifluatex.sty)

(/usr/local/texlive/current/texmf-dist/tex/luatex/luatexbase/luatexbase-loader.
sty
(/usr/local/texlive/current/texmf-dist/tex/luatex/luatexbase/luatexbase-compat.
sty)
(/usr/local/texlive/current/texmf-dist/tex/luatex/luatexbase/luatexbase.loader.l
ua))
(/usr/local/texlive/current/texmf-dist/tex/luatex/luatexbase/modutils.lua))
(/usr/local/texlive/current/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/current/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/current/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/current/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/current/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
(/usr/local/texlive/current/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua))
(/usr/local/texlive/current/texmf-dist/scripts/oberdiek/pdftexcmds.lua))
(/usr/local/texlive/current/texmf-dist/tex/luatex/luamplib/luamplib.lua))
(./foo.aux)
! LuaTeX error ...live/current/texmf-dist/tex/luatex/luamplib/luamplib.lua:177:
Module luamplib error:
(luamplib)
(luamplib)
(luamplib)
(luamplib)
(luamplib)
(luamplib)
(luamplib)
(luamplib)             >> (0,0,2u,0,0,2u)
(luamplib)             ! Transform components aren't all known.
(luamplib)             <to be read again>
(luamplib)                                ;
(luamplib)             <*>  beginfig(1); draw fullcircle scaled (2*u);
(luamplib)                                                             endfig;
(luamplib)             [1]
(luamplib)
(luamplib)             no-error

stack traceback:
	[C]: in function 'error'
	...ve/current/texmf-dist/tex/luatex/luatexbase/modutils.lua:26: in function 'mo
dule_error_int'
	...ve/current/texmf-dist/tex/luatex/luatexbase/modutils.lua:49: in function 'er
r'
	...live/current/texmf-dist/tex/luatex/luamplib/luamplib.lua:177: in function <.
..live/current/texmf-dist/tex/luatex/luamplib/luamplib.lua:169>
	(...tail calls...)
	[string "\directlua "]:1: in main chunk.
\ltxdomplibcodefinally ...luamplib.process(data) }
                                                  \end {mplibcode}\else \tok...
l.9 	\end{mplibcode}


More information about the lualatex-dev mailing list