[lltx] luaextra

Elie Roux elie.roux at telecom-bretagne.eu
Sun Jan 10 21:58:27 CET 2010

Khaled Hosny a écrit :
> I'm trying to use some luatextra functions in a lua script, but it fails
> because it needs luatextra, but I'd like to have as less dependencies
> (and loaded files) as possible.


I must say I don't understand the part "I'm trying to use some luatextra 
functions, [...] but it fails because it needs luatextra", can you be 
more explicit ? Do you mean that luatextra.lua needs luatextra.sty? Or 
are you talking about luamcallbacks and luaextra?

> So I was thinking it'd be better to have the lua libraries separately 
> (the original ConTeXt l-*.lua files, may be renamed to luatextra-*.lua)
> since each is essentially self contained, and make luatextra.lua just
> load them for people who don't want to bother loading each separately.
> This might make the libraries more appealing for standalone lua
> scripts.
> What do you think?

It sounds like a good idea! Although I think it would be necessary to 
write a small script to load ConTeXt modules (to load them only once, to 
write the name to the log file, etc.)...

Thank you!

More information about the lualatex-dev mailing list