Dear Stephan,

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.

It's true, the luatexbase modules don't use the module functions. I will change it very soon.

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.

There is no valid reason...

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?

No, this is clearly wrong, my bad...

I'll upload a new version today or tomorrow...

Thank you!
--
Elie

Reply via email to