[lltx] luatexbase and module version

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Fri May 10 20:16:18 CEST 2013


···<Datum: Friday, 10. May 2013>···<Von: Stephan Hennig>···

> luatexbase-modutils provides means to test if and what version of a
> module is loaded.  I want to test if a certain version of package
> luatexbase-attr is loaded, but the attached code returns nil.

nil signals that there is no entry of this name.

> Alternatively, I could check if a particular feature foo is present via
> 
>   if luatexbase.foo then
> 
> instead, but I wonder why applying the interface provided in
> luatexbase-modutils to package luatexbase shouldn't work.

attr doesn’t currently use the interface since it is loaded
before modutils. But you are correct, the version info of
luatexbase should be accessible; I’ll make a tracker item.

> BTW, as you can see from the log file, package luatexbase-attr from
> luatexbase v0.6 identifies itself as 2011/05/24 v0.4.  I know, there
> have indeed been recent changes to luatexbase-attr.  Is that package
> version and date intentional?

Not all version strings have been updated so far.

Best
Philipp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/lualatex-dev/attachments/20130510/7dd784ec/attachment.bin>


More information about the lualatex-dev mailing list