thanks for looking at the luigi, but I'm a bit confused by your reply. 

As far as I can tell, the file look up succeeds for both the img Lua functions 
and the primitive commands. 

If the lua functions are used, the image is also found for inclusion in the pdf.

But if the commands are used, the image is not found. That is,

\saveimageresource{example-delwedd-a.pdf}
\useimageresource\lastsavedimageresourceindex

fails.

Are you saying that the behaviour is not expected to be consistent between the 
lua functions and the primitives? And that they are not expected to behave as 
\pdfximage etc. did?

The manual is not very specific about the correspondence, but it at least 
suggests consistency might be expected for the defunct versions:

> The img library can be used as an alternative to \pdfximage and 
> \pdfrefximage, and the asso-
> ciated ‘satellite’ commands like \pdfximagebbox. 

[Probably the names should be updated since these no longer exist. ;)]
_______________________________________________
dev-luatex mailing list -- dev-luatex@ntg.nl
To unsubscribe send an email to dev-luatex-le...@ntg.nl

Reply via email to