Re: Adding skillicons to TeXlive
Max Chernoff via tex-live <[email protected]>
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <[email protected]> |
Hi Ulrike,
On Mon, 2025-12-15 at 11:06 +0100, Ulrike Fischer wrote:
> Am Sun, 14 Dec 2025 15:28:15 -0700 schrieb Karl Berry:
> > Also, maybe there could be some clever way to associate pdf page numbers
> > with code points so there doesn't have to be an explicit mapping.
>
> luatex could probably use e.g. named destinations to retrieve pages,
> but I don't see many options for pdftex.
pdfTeX supports using named destinations with
\pdfximage named {<destination name>} {/path/to/file.pdf}
and dvipdfmx supports named destinations with
\special{pdf:image named "<destination name>" (/path/to/file.pdf)}
(I added the dvipdfmx support a couple years ago, and I documented the
pdfTeX support in its manual at the same time)
LuaTeX doesn't have built-in support for referencing named destinations,
but it's relatively straightforward to implement in Lua. I know all this
because I did exactly this in a package
https://github.com/gucci-on-fleek/unnamed-emoji
that I never got around to finishing and putting on CTAN/TL.
Thanks,
-- Max