[luatex] [lltx] new(missing) feature for luamplib for LuaLaTeX
luigi.scarso at gmail.com
Wed Aug 8 17:53:43 CEST 2012
On Wed, Aug 8, 2012 at 5:43 PM, Keith J. Schultz <schultzk at uni-trier.de>wrote:
> Hi Manuel, All,
> I find that the mplibcode environment in LuaLaTeX is missing
> an important feature. There is no way to call Lua from inside it!
> I have investigated the code and found that the use of the verbatim-
> environment is preventing this. But, there is a way to install a
> In the Lua-code of of luamplib. the function addline needs to be patched to
> catch a dolua-command, extract the Lua-function, call it and finally feed
> the result
> in the normal way to mplib.
> I have done that!
> Is there an interest for such a feature.? What kind of syntax would be
> It would be possible to write:
> . . .
> dolua(generatesomecommands(with, and, that))
> . . .
> isn't loadstring(s [,name]) enough ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the luatex