[luatex] tex.enableprimitives producing non-primitives?

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Sep 23 14:47:58 CEST 2009


Dohyun Kim wrote:
> 
> But... what about \ifprimitive?
> Please test a file as follows with "luatex -ini":
> neither \attribute nor \testprefixattribute is treated as a primitive.
> This makes \ifprimitive command useless.
> In this respect, I agree with Élie Roux and think that this issue is a
> luatex's bug.

No, \ifpdfprimitve is meant for dealing with circumstances where an
*available* primitive has been redefined. In your test, \attribute is
not available, so of course you also cannot call the primitive.
-- 
Joseph Wright


More information about the luatex mailing list