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
