[lltx] luacolor bug

Manuel Pégourié-Gonnard mpg at elzevir.fr
Sun Dec 12 04:08:42 CET 2010

Le 12/12/2010 02:43, Heiko Oberdiek a écrit :
> * [luatexbase-compat.sty]
>   Bug: Missing curly braces:
>     \luatexbase at directlua{tex.enableprimitives('luatex', '#1')}}
>   should be:
>     \luatexbase at directlua{tex.enableprimitives('luatex', {'#1'})}}
Good catch. It seems the path leading to this line of code is never taken in any
the 'luatex' and 'lualatex' formats with TL 2008, 2009, 2010 (and probably
MikTeX 2.9 whose formats should match those of TL 2010).

Anyway, I just fixed it.

> * [luatexbase-compat.sty]
>   If eTeX isn't enabled, then \ifcsname isn't available.

The package already throws an error if LuaTeX isn't used. AFAIK, every
luatex-based format has e-TeX enable. So, relying e-TeX was a deliberate choice.
If you feel this choice is not reasonable, I'm open to discussion.

At least, I should document that, and maybe add a check for e-TeX at the
beginning of the package too.


More information about the lualatex-dev mailing list