From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: \externalfigure and file size
Date: Sat, 21 Jan 2012 01:40:13 +0100 [thread overview]
Message-ID: <20120121014013.72179e94@homerow> (raw)
In-Reply-To: <1327105621.28887.0.camel@kip-laptop>
On 2012-01-20 Kip Warner <kip@thevertigo.com> 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?
As I mentioned before 99.9% of the system work fine
without additional programs. You need inkscape only when
you want to include SVG images. Having inkscape as a
dependency means a huge bunch of data and disk space
(inkscape incl. all dependencies like X,…).
However, these external helpers (like ghostscript as well)
should be listed as a recommendation or suggestion [not as
dependency]). In that case the user is notified that
he/she might get a benefit installing these programs.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-01-21 0:40 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 [this message]
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
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=20120121014013.72179e94@homerow \
--to=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).