Re: [NTG-context] Download remote SVG images

2023-01-02 Thread Henning Hraban Ramm via ntg-context

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
___


[NTG-context] Download remote SVG images

2023-01-02 Thread 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?

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
___