[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SVG with embedded png
From: |
tomas |
Subject: |
Re: SVG with embedded png |
Date: |
Tue, 18 May 2021 14:50:01 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, May 18, 2021 at 03:25:51PM +0300, Eli Zaretskii wrote:
> > Date: Tue, 18 May 2021 11:45:08 +0100
> > From: Joe Corneli via "Emacs development discussions."
> > <emacs-devel@gnu.org>
> >
> > Hello, the attached SVG file was made with M-x org-latex-preview. It
> > includes an embedded PNG file.
> >
> > The source is this LaTeX-in-Org oneliner, together with the PNG.
> >
> > $$\mathit{Hello}
> > \includegraphics[width=2cm,natwidth=445,natheight=661]{/home/joe/tools_for_thought/Tft1st.png}$$
> >
> > The generated SVG image displays correctly in Mozilla Firefox 88.0.1.
>
> FWIW, I don't see the embedded PNG in Firefox, either. Not even in
> the latest version 88 of Firefox.
Looking at the SVG (the source, I mean), this 'embedding' of the PNG
happens via an xlink, like so:
xlink:href='/home/joe/tools_for_thought/Tft1st.png
I actually doubt You, Eli, have a directory /home/joe in your
computer (but I could be wrong :)
The resolution of that URL will, AFAIK, depend on quite a bit
of context (it is a path-absolute URL), but I might be wrong.
Cheers
- t
signature.asc
Description: Digital signature