From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74065 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: \externalfigure and file size Date: Sat, 21 Jan 2012 02:46:28 +0100 Message-ID: References: <1326932737.5532.74.camel@kip-laptop> <1327017163.5532.95.camel@kip-laptop> <20120120015103.1fb4a14e@homerow> <4F192F11.3040705@wxs.nl> <1327100749.5532.124.camel@kip-laptop> <20120121012234.1553b814@homerow> <1327105621.28887.0.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0295996135==" X-Trace: dough.gmane.org 1327110419 3428 80.91.229.12 (21 Jan 2012 01:46:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2012 01:46:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 21 02:46:49 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RoQ2a-0004wR-DS for gctc-ntg-context-518@m.gmane.org; Sat, 21 Jan 2012 02:46:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 80C89CB1F3; Sat, 21 Jan 2012 02:46:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 87AWIWSJMeDk; Sat, 21 Jan 2012 02:46:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82560CB1C5; Sat, 21 Jan 2012 02:46:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D22C0CB1C5 for ; Sat, 21 Jan 2012 02:46:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HvYqmtTGnlaW for ; Sat, 21 Jan 2012 02:46:31 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id AB3FDCB1B4 for ; Sat, 21 Jan 2012 02:46:30 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0L1kSg8031957 for ; Sat, 21 Jan 2012 02:46:29 +0100 Original-Received: by iadj38 with SMTP id j38so2207975iad.14 for ; Fri, 20 Jan 2012 17:46:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SS3KoFOZd0HH7huPJQ80pnUbipldtPrWRM6LUPzB9WE=; b=o9NSni/kOL5OJ7C7Eu8Fkh/48jLfzG/Ck67ywqf2du8iI4NvHFMb5IzZtImPgUOv0b uQZke3zlXNzuP14KTF8X7gQCinjxOP1R75EGfSWFGQDruQSL3Ef9Qgkw6gX/Ps/XcLB7 gIqcUdate6Am1S48sZ3EIY7nVSDLHpp8c1dK0= Original-Received: by 10.50.156.138 with SMTP id we10mr872987igb.10.1327110388461; Fri, 20 Jan 2012 17:46:28 -0800 (PST) Original-Received: by 10.50.57.131 with HTTP; Fri, 20 Jan 2012 17:46:28 -0800 (PST) In-Reply-To: <1327105621.28887.0.camel@kip-laptop> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0HGo1KtcQ - 36b77d65824e - 20120121 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74065 Archived-At: --===============0295996135== Content-Type: multipart/alternative; boundary=e89a8f234aad48310c04b6fff7c0 --e89a8f234aad48310c04b6fff7c0 Content-Type: text/plain; charset=UTF-8 On Sat, Jan 21, 2012 at 1:27 AM, Kip Warner wrote: > > Right, but since the average end user probably won't know that, doesn't > that still suggest Inkscape be listed as a dependency? > > hm, no. Suppose this situation: me and you agree on a context beta version and a pdf reader and you send me your tex file with 1) a png/jpeg image or a pdf file as externalfigure. Then my pdf and your pdf must be the same, and on average the reader will show the same result. Otherwise probably is a bug. 2) a swf. Then my pdf and your pdf must be the same, but probably the reader will not show the same result -- basically only acroread is able to show swf inside a pdf, and it depends to the OS and version 3) a svg image. PDF spec. doesn't support SVG, so we must also agree on the same program to convert the svg into a bitmap or vector image, and this is a problem: as you have seen, the conversion require a bit of experience. After all, it's not strange if inkscape 0.40 and 0.48 display the same svg in different way --- and the same for the pdfs. Actually, only an expert user can use inkscape to automatically convert an svg to pdf/png without (appreciable) errors, and this kind of user is also able to install the correct version of inkscape (which is much easier to install under windows then linux,btw). So, if you are creating a svg by tourself, it's better to check that the pdf and png are the same if you want to be sure that your image will be printed/display correctly --- there aren't so many programs that completely support the svg standard. ConTeXt then helps this kind of expert user because they are able "a priori" to understand if a svg image is problematic or not . -- luigi --e89a8f234aad48310c04b6fff7c0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sat, Jan 21, 2012 at 1:27 AM, Kip War= ner <kip@thevertigo.com> wrote:
Right, but since the average end user probably won't know that, doesn&#= 39;t
that still suggest Inkscape be listed as a dependency?

hm, =C2=A0no.
Suppose= this situation: me and you agree on a context beta version and a pdf reade= r and you send me your tex file with
1) a png/jpeg image or a pdf= file as externalfigure. Then my pdf and your pdf must be the same, and on = average the reader will show the same result. Otherwise probably is a bug.<= /div>
2) a swf. Then my pdf and your pdf must be the same, but probably the = reader will not show the same result -- basically only acroread is able to = show swf inside a pdf, and it depends to the OS and version
3) a svg image. PDF spec. doesn't support SVG, so we must also agree on= the same program to convert the svg into a bitmap or vector image, and thi= s is a problem: as you have seen, the conversion require a bit of experienc= e.
After all, it's not strange if inkscape 0.40 and 0.48 display the = same svg in different way --- and the same for the pdfs.

Actually, only an expert user can use inkscape to automatically conv= ert an svg to pdf/png without (appreciable) errors, and this kind of user i= s also able to install the correct version of inkscape (which is much easie= r to install under windows then linux,btw). So, if you are creating a svg b= y tourself, it's better to check that the pdf and png are the same if y= ou want to be sure that your image will be printed/display correctly --- th= ere aren't so many programs that completely support the svg standard.

ConTeXt then helps this kind of expert user because the= y are able "a priori" =C2=A0to understand if a svg image is probl= ematic or not .


--
luigi
--e89a8f234aad48310c04b6fff7c0-- --===============0295996135== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0295996135==--