ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Kip Warner <kip@thevertigo.com>, Marco <netuse@lavabit.com>
Subject: Re: \externalfigure and file size
Date: Sat, 21 Jan 2012 01:54:15 +0100	[thread overview]
Message-ID: <4F1A0CB7.9080007@wxs.nl> (raw)
In-Reply-To: <1327105621.28887.0.camel@kip-laptop>

On 21-1-2012 01:27, Kip Warner wrote:
> On Sat, 2012-01-21 at 01:22 +0100, Marco wrote:
>> On 2012-01-20 Kip Warner<kip@thevertigo.com>  wrote:
>>
>>> So what does ConTeXt do when it typesets an \externalfigure?
>>> Does it always use inkscape, or only sometimes?
>>
>> If the  image type is  supported by the TeX  engine (jpeg,
>> png, pdf, mps) it is directly included. SVG files inkscape
>> is  called to  convert  the  SVG to  PDF.  For EPS  images
>> ghostscript is used:
>>
>> strace results:
>>
>> execve("/usr/bin/gs", ["gs", "-q", "-sDEVICE=pdfwrite",
>> 	"-dNOPAUSE", "-dNOCACHE", "-dBATCH",
>> 	"-dAutoRotatePages=/None", "-dPDFSETTINGS=/prepress",
>> 	"-dEPSCrop", "-sOutputFile=m_k_i_v_graph.pdf",
>> 	"graph.eps", "-c", "quit"], [/* 55 vars */])
>
> Right, but since the average end user probably won't know that, doesn't
> that still suggest Inkscape be listed as a dependency?

no, because not all users use svg (just an not all users use fonts 
defined in type-* files) and also because inkscape is close to 
impossible to install without x present which would render context 
'unuseable due to a depency not being resolved'

(in fact there is then also a dependency on a viewer)

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2012-01-21  0:54 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19  0:25 Kip Warner
2012-01-19  7:56 ` Mojca Miklavec
2012-01-19 23:51   ` Kip Warner
2012-01-19  8:23 ` luigi scarso
2012-01-19 23:52   ` Kip Warner
2012-01-20  0:51     ` Marco
2012-01-20  1:02       ` Kip Warner
2012-01-20  9:08       ` Hans Hagen
2012-01-20 23:05         ` Kip Warner
2012-01-21  0:07           ` Hans Hagen
2012-01-21  0:12             ` luigi scarso
2012-01-21  0:15               ` Hans Hagen
2012-01-24 23:28             ` Kip Warner
2012-01-21  0:21           ` Marco
     [not found]           ` <20120121012234.1553b814@homerow>
2012-01-21  0:27             ` Kip Warner
2012-01-21  0:40               ` Marco
2012-01-21  0:55                 ` Hans Hagen
2012-01-21 13:32                   ` Marco
2012-01-24  0:33                   ` Kip Warner
     [not found]               ` <20120121014245.794d515b@homerow>
2012-01-21  0:45                 ` Kip Warner
2012-01-21  0:54               ` Hans Hagen [this message]
2012-01-21  3:31                 ` Wagner Macedo
2012-01-21  9:40                   ` Hans Hagen
2012-01-24  0:44                   ` Kip Warner
2012-01-24  0:17                 ` Kip Warner
2012-01-24 11:13                   ` Marco
     [not found]                   ` <20120124121433.57a167f4@homerow>
2012-01-24 23:20                     ` Kip Warner
2012-01-21  1:46               ` luigi scarso
2012-01-20 23:48         ` Wagner Macedo
2012-01-19 10:58 ` Peter Rolf
2012-01-20  0:01   ` Kip Warner
2012-01-20  0:07     ` Pontus Lurcock
2012-01-20  0:23       ` Kip Warner
2012-01-20  0:45         ` Mojca Miklavec
2012-01-20  0:50           ` Pontus Lurcock
2012-01-20  1:26           ` Kip Warner
2012-01-20  0:13     ` Wagner Macedo
2012-01-20  0:23       ` Kip Warner
2012-01-20  0:43         ` Pontus Lurcock
     [not found]         ` <CAKGY2Pk_pXNNcks+EaEg0fLYh2ENtb3Cas13duoxihr654vQnQ@mail.gmail.com>
2012-01-20  0:51           ` Kip Warner
     [not found]             ` <CAKGY2Pk8TC8cJUEDvy5HhaS0NvbLmFcYvS3d6Es7vzUpa63ADg@mail.gmail.com>
2012-01-20  1:01               ` Kip Warner
2012-01-20  1:03             ` Mojca Miklavec
2012-01-20  1:30               ` Kip Warner
2012-01-20  8:55                 ` luigi scarso
2012-01-20 23:04                   ` Kip Warner
2012-01-20 23:36                     ` luigi scarso
2012-01-20  0:14     ` Wolfgang Schuster
2012-01-20  1:24       ` Kip Warner
2012-01-20  0:21     ` Marco
2012-01-20  1:21       ` Kip Warner
2012-01-20 10:18         ` Marco
2012-01-20 10:26           ` Hans Hagen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F1A0CB7.9080007@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=kip@thevertigo.com \
    --cc=netuse@lavabit.com \
    --cc=ntg-context@ntg.nl \
    /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.
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).