# [NTG-context] \externalfigure and file size

Hans Hagen pragma at wxs.nl
Sat Jan 21 01:15:29 CET 2012

On 21-1-2012 01:12, luigi scarso wrote:
> On Sat, Jan 21, 2012 at 1:07 AM, Hans Hagen<pragma at wxs.nl>  wrote:
>
>> On 21-1-2012 00:05, Kip Warner wrote:
>>
>>> On Fri, 2012-01-20 at 10:08 +0100, Hans Hagen wrote:
>>>
>>>> There is no such depedency .. actually, i found it rather impossible to
>>>> get an inkscape running on a headless linux box as there is some
>>>> depedency on X (last time I tried). In a similar fashion there is no
>>>> dependency on GhostScript or GraphicMagick or Zint.
>>>>
>>>
>>> So what does ConTeXt do when it typesets an \externalfigure? Does it
>>> always use inkscape, or only sometimes?
>>>
>>
>> no, png, jpg and pdf are supported directly (as is mp) but fo rother
>> formats it will either try to find a replacement (there is a whole chain of
>> lookups) or it will try to run one of the configured converters ... with
>>
> and swf, even if I have not full tested (basically you can test only with

sure, a few of those 'supported media types' are also dealt with (in
fact I think that one can embed svg in a pdf document given some plugin

Hans

-----------------------------------------------------------------