···<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

Attachment: pgpQi6qmai4E0.pgp
Description: PGP signature

Reply via email to