From: <tomas@tuxteam.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Joe Corneli <joseph.corneli.em@hyperreal.enterprises>,
emacs-devel@gnu.org
Subject: Re: SVG with embedded png
Date: Tue, 18 May 2021 14:50:01 +0200 [thread overview]
Message-ID: <20210518125001.GG11623@tuxteam.de> (raw)
In-Reply-To: <83eee4rzxs.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2021-05-18 12:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-18 10:45 SVG with embedded png Joe Corneli via Emacs development discussions.
2021-05-18 12:25 ` Eli Zaretskii
2021-05-18 12:50 ` tomas [this message]
2021-05-18 12:54 ` Basil L. Contovounesios
2021-05-18 12:40 ` Joost Kremers
2021-05-18 14:24 ` Joe Corneli via Emacs development discussions.
2021-05-18 18:05 ` Alan Third
2021-05-18 18:09 ` Alan Third
2021-05-19 12:57 ` Joe Corneli via Emacs development discussions.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210518125001.GG11623@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=joseph.corneli.em@hyperreal.enterprises \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).