[luatex] macros to invoke lua in LaTeX

Taco Hoekwater taco at elvenkind.com
Wed Mar 4 12:31:26 CET 2009


Elie Roux wrote:
> Taco Hoekwater a écrit :
>>>>
>>>> \ifnum\luatexversion<40
>>>>   \def\directlua{\primitive\directlua0}
>>>> \fi
>>>>       
>>
>> Just marked deprecated. But that comes with a terminal message
>> that you will want to avoud.
>>   
> 
> Sure... but then I don't understand why we should put a 
> \ifnum\luatexversion<40?

Because your redefinition won't be needed from 0.40 upwards and
will in fact be wrong from 0.50 up.

Best wishes,
Taco


More information about the luatex mailing list