[luatex] Lua 5.2.

Paul Isambert zappathustra at free.fr
Fri Jan 28 00:29:48 CET 2011


Le 28/01/2011 00:21, Philipp Stephani a écrit :
> Am 27.01.2011 um 23:18 schrieb Paul Isambert:
>
>> Hello all,
>>
>> I don't know how LuaTeX is supposed to follow the development of Lua, but you might be interested to learn about the incompatibilites between Lua 5.1 and 5.2 (alpha):
>>
>> http://www.lua.org/work/doc/manual.html#8
>>
>> Most importantly, module() is deprecated, so packages should sooner or later do without.
> What is the preferred way to implement modules then?

Among the methods introduced in this chapter of PIL: 
http://www.lua.org/pil/15.html, my favorite is:

local foo ...
local bar ...
...
mypack = {foo = foo, bar = bar, ...}

Best,
Paul


More information about the luatex mailing list