Taco Hoekwater a écrit :
Hi,
Hans Hagen wrote:
TeXWorld wrote:
What about continuing this discussion on dynamic loading lua libraries ?
in the current luatex beta you can load a library with 'require'
FYI, the current status is that require() handles only pure lua libraries. We hope to extend that to compiled libraries as well,
Fantastic !
but Windows is giving me a hard time: I have to alter the luatex build process rather drastically because Windows requires me to create a dll out of the embedded lua interpreter. Adding C library support on other platforms is a breeze.
Yes I see, I tried to use LuaXML with LuaTeX (0.44 with TexLive 2009 under Vista) and it didn't work. Do you think this dll will be ready for LuaTeX 0.50 ? Moreover, where do we have to put the files of the library ? I thnik it works when they are put in (under windows) \bin\win32 or bin\win32\lua, doesn't it ? Shouldn't they be installed somewhere else in the tds ? At last, as Hans said, there will be restrictions of course for this lua library loading. In TeX Live 2010 we could set the list of authorized external programs (it was planned for TL09 but it's not possible in fact). Do you think authorized lua libraries should be set in the same list ?
That new functionality will not invalidate any of Hans' comments.
Best wishes, Taco Thank you Taco, Thank you Hans