Re: Displaying SVG with embedded links
Michael Heerdegen <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Eli Zaretskii <[email protected]> writes: > > I think Michael wants a more fine-grained approach; if I understand > > you correctly, the whole SVG image would be just one button, right? > > No, there could be several, see the description of :map in the ELisp > manual. (Thx Tomas for helping to clarify my question.) I tried like this: #+begin_src emacs-lisp (insert-image '(image :file "/home/micha/Treasure/today/Musikunterricht/BWV_1079_04_06-2.svg" :map "/home/micha/Treasure/today/Musikunterricht/BWV_1079_04_06-2.svg" :type svg :scale default :ascent 100 :width nil :height nil :max-width 1282 :max-height 854 :format image/svg+xml) "*") #+end_src I think this was one of the things suggested. The :map spec specifying the absolute file name doesn't make a difference (I used a fresh fundamental-mode buffer for testing). I will probably give up the experiment at this point because getting this working is not super important (especially because for some reason the generation of the svg file (by LilyPond) takes much longer than the generation of a pdf). I only had a very quick look at svg.el. I didn't find anything obvious that would help me doing what I want directly out of the box. Anyway - thanks for helping! Michael.