[luatex] tex.enableprimitives producing non-primitives?
oberdiek at uni-freiburg.de
Wed Sep 23 15:13:20 CEST 2009
On Wed, Sep 23, 2009 at 03:51:17PM +0300, Élie Roux wrote:
> 2009/9/23 Joseph Wright <joseph.wright at morningstar2.co.uk>:
> > 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.
> In fact the surprising thing it that tex.enableprimitives does not
> produce primitives (when used with a prefix),
It does. See the result of \meaning.
> so it is the name of the
> function that leads to errors... maybe renaming it to producecsname or
> something like that would help...
A little misleading is \if(pdf)primitive perhaps as shortcut
for something like \if(pdf)IsSameAsOriginalPrimitive.
Heiko <oberdiek at uni-freiburg.de>
More information about the luatex