[lltx] luamplib + lualatex

Dohyun Kim nomosnomos at gmail.com
Thu Jul 25 06:10:36 CEST 2013


2013/7/25 Troy Henderson <thenders at gmail.com>:
> 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):
>
> (luamplib)             >> (0,0,2u,0,0,2u)
> (luamplib)             ! Transform components aren't all known.
> (luamplib)             <to be read again>

Thanks for testing.

You have to update luamplib.lua as well.

Anyway, I have changed the user interface.
Instead of
    \mplibpreamble{ ... }
now you have to use mplibpreamble environment
    \begin{mplibpreamble}
    ...
    \end{mplibpreamble}

please pull again the same repo:
    https://github.com/dohyunkim/luamplib
and update both luamplib.sty and luamplib.lua.

Regards,
-- 
Dohyun Kim
Seoul, Republic of Korea


More information about the lualatex-dev mailing list