Re: Displaying SVG with embedded links
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
> From: Michael Heerdegen <[email protected]> > Date: Sun, 05 Apr 2026 15:11:03 +0200 > > Hello, > > Do I have a chance to display an SVG image with embedded links inside > Emacs so that those embedded links are clickable? So far, I have the > impression that such a feature is not supported out of the box. > > Background: I have started using LilyPond to create music scores. > LilyPond implements a feature called "point in click": the result (PDF > or SVG) has embedded clickable links. When you click on them, your > editor pops up with the cursor positioned at the respective position in > the source file. If SVG display in Emacs would support clickable links, > I could have a solution completely inside Emacs, without relying on > external programs. AFAIK, this is not supported directly, but you could have a :map property in the image descriptor that makes portions of the image sensitive to clicks. See the node "Image Descriptors" in the ELisp manual for more.