[NTG-context] Download remote SVG images

Henning Hraban Ramm texml at fiee.net
Tue Jan 3 08:46:08 CET 2023


Am 03.01.23 um 07:38 schrieb Thangalin via ntg-context:
> Hi list!
> 
> % SOT
> \starttext
>    \externalfigure[https://upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg]
> 
>    \externalfigure[https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Ghostscript_Tiger.svg/1024px-Ghostscript_Tiger.svg.png]
> \stoptext
> % EOT
> 
> Is there a way to have ConTeXt download remote SVG images?

AFAIK this should work, at least if you have curl installed and the URL 
is not redirected.
You might need [conversion=mp] for the SVG, otherwise Inkscape installed.

But it doesn’t work for me, too.

Hraban



More information about the ntg-context mailing list