Hi Luigi,
On Fri, 2026-03-06 at 09:05 +0100, luigi scarso wrote:
> Do you have an example for pdflatex and lualatex , possibly with the
> TexLive 2026 ?
\ifdefined\directlua
\let\pdfximage\saveimageresource
\let\pdfrefximage\useimageresource
\let\pdflastximage\lastsavedimageresourceindex
\fi
\pdfximage
named {subsubsection.3.2.3}
{/usr/local/texlive/2026/texmf-dist/doc/texlive/texlive-en/texlive-en.pdf}
\pdfrefximage\pdflastximage
\bye
ยง4.9.1 of the pdfTeX manual documents this syntax, and there's a _tiny_
bit more background in the patch that I submitted for xdvipdfmx:
https://tug.org/pipermail/dvipdfmx/2024-February/000344.html
I've also written an implementation in Lua here:
https://github.com/gucci-on-fleek/unnamed-emoji/blob/6094a689a23ca3e87b1f9e1b4515dd04b82fe9a7/source/unnamed-emoji.lua#L221-L262
Thanks,
-- Max
_______________________________________________
dev-luatex mailing list -- [email protected]
To unsubscribe send an email to [email protected]