ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Download remote SVG images
@ 2023-01-03  6:38 Thangalin via ntg-context
  2023-01-03  7:46 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Thangalin via ntg-context @ 2023-01-03  6:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thangalin

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?

Happy New Year!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Download remote SVG images
  2023-01-03  6:38 Download remote SVG images Thangalin via ntg-context
@ 2023-01-03  7:46 ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-01-03  7:46 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-03  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  6:38 Download remote SVG images Thangalin via ntg-context
2023-01-03  7:46 ` Henning Hraban Ramm via ntg-context

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 NNTP newsgroup(s).