On Wed, Sep 23, 2009 at 03:51:17PM +0300, Élie Roux wrote: > 2009/9/23 Joseph Wright <[email protected]>: > > > > 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. Yours sincerely Heiko <[email protected]>
