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
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 -----------------------------------------------------------------