From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36507 Path: news.gmane.org!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: Re: xetex and external pdf stretching Date: Thu, 13 Sep 2007 13:17:01 +0200 Message-ID: <9205D47B-4362-4B88-BDDC-5BCCCE3F8CF6@di.unito.it> References: <9C1FC149-7B67-40A9-81E0-CD2E85AED661@di.unito.it> <6faad9f00709130400j7ba0bf43v9c5495f7edfa3a83@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/mixed; boundary="===============1397842591==" X-Trace: sea.gmane.org 1189682311 19358 80.91.229.12 (13 Sep 2007 11:18:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 11:18:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 13:18:28 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IVmiK-0000Ut-Fq for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2007 13:18:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A186F1FB30; Thu, 13 Sep 2007 13:17:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14493-07-10; Thu, 13 Sep 2007 13:17:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E16941FDFF; Thu, 13 Sep 2007 13:17:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2293B1FDFF for ; Thu, 13 Sep 2007 13:17:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14493-07-9 for ; Thu, 13 Sep 2007 13:17:21 +0200 (CEST) Original-Received: from pianeta.di.unito.it (pianeta.di.unito.it [130.192.156.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1644A1FD88 for ; Thu, 13 Sep 2007 13:17:20 +0200 (CEST) Original-Received: from [192.168.1.2] (d83-184-26-160.cust.tele2.it [83.184.26.160]) by pianeta.di.unito.it (INFO-DIP) with ESMTP id l8DBH2Wt016444 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO userCertificateDN= AuthenticatedUser=valle ) for ; Thu, 13 Sep 2007 13:17:03 +0200 (MEST) In-Reply-To: <6faad9f00709130400j7ba0bf43v9c5495f7edfa3a83@mail.gmail.com> X-Mailer: Apple Mail (2.752.3) X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information X-AntiVirus: Scanned for viruses by VirusFinder @2001-tecnici@di.unito.it - Email Clean X-SpamCheck: not spam, SpamAssassin (score=-100.421, required 3.5, autolearn=not spam, AUTHENTICATEDUSER -100.00, BAYES_00 -2.60, HTML_MESSAGE 0.00, RCVD_IN_NJABL_DUL 1.95, TW_FM 0.08, TW_XD 0.08, TW_XT 0.08) X-MailScanner-From: valle@di.unito.it X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36507 Archived-At: --===============1397842591== Content-Type: multipart/alternative; boundary=Apple-Mail-42-921624267 --Apple-Mail-42-921624267 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Thanks Mojca, I'll send it to you privately. I've rewritten the wiki entry related to figure specifying that the =20 use of low level command is just a workaround. Best -a- On 13 Sep 2007, at 13:00, Mojca Miklavec wrote: > On 9/5/07, Andrea Valle wrote: >> Hi, >> >> I'm experimenting with xetex as suggested. All ok up to know. >> But I'm having a strange problem with figures. >> Typically I create my diagrams with Omnigraffle, export them in =20 >> pdf (default >> setting) and reimport them in ConTeXt. Always fine. >> >> Using texexec --xtx I'm having a strange scale in vertical =20 >> dimension, i.e. >> the figure is vertically stretched. The figure is ok, because the =20 >> problem >> does not arise when I omit the -xtx flag. >> >> The code I'm using is trivial >> >> \placefigure{{\em Semiotiche}: produzione, distribuzione e accesso.} >> {\externalfigure[pipeline][width=3D\textwidth]} >> >> No stretching using a png instead of a pdf > > I have just figured out that weird scaling of jpg figures came from > XeTeX, not from ConTeXt. Actually, xdv2pdf driver works OK, while > xdvipdfmx driver uses some arbitrary scaling. (I might be that > resolution wrong in original file, but \XeTeXpicfile "file" width5cm > should result in exactly 5cm width, no more and no less.) > > Can you send me one of problematic PDFs? I would like to check whether > the problem lies in ConTeXt or XeTeX ... > > Mojca -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Universit=E0 degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. Who =20= doesn't in university, right? I was in this strip club giving this =20 guy a lap dance and all he wanted to do was to discuss Foucault with =20 me. Well, I can stand naked and do my little dance, or I can discuss =20 Foucault, but not at the same time; too much information. (Annabel Chong) --Apple-Mail-42-921624267 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Thanks Mojca,

I'll send it to you = privately.
I've rewritten the wiki entry related to figure = specifying that the use of low level command is just a = workaround.=A0

Best

-a-


On 13 Sep = 2007, at 13:00, Mojca Miklavec wrote:

On 9/5/07, Andrea Valle wrote:
Hi,

I'm = experimenting with xetex as suggested. All ok up to know.
But I'm having a strange problem with = figures.
Typically I create my diagrams = with Omnigraffle, export them in pdf (default
setting) and reimport them in ConTeXt. Always = fine.

Using texexec --xtx I'm having a strange scale in = vertical dimension, i.e.
the figure is = vertically stretched. The figure is ok, because the problem
does not arise when I omit the -xtx flag.

The code = I'm using is trivial
\placefigure{{\em Semiotiche}: = produzione, distribuzione e accesso.}

No = stretching using a png instead of a pdf

I have = just figured out that weird scaling of jpg figures came from
XeTeX, not from ConTeXt. Actually, xdv2pdf driver = works OK, while
xdvipdfmx driver uses some = arbitrary scaling. (I might be that
resolution = wrong in original file, but \XeTeXpicfile "file" width5cm
should result in exactly 5cm width, no more and no = less.)

Can you send me one of problematic PDFs? I would = like to check whether
the problem lies in ConTeXt = or XeTeX ...

Mojca

http://www.cirma.unito.it/andre= a/
= --------------------------------------------------


I did this interview where I just = mentioned that I read Foucault. Who doesn't in = university, right? I was in this strip = club giving this guy a lap = dance and all he wanted to do was to discuss Foucault = with me. Well, I can stand naked and do my little dance, or I can = discuss Foucault, but not at the same time; too much = information.
(Annabel = Chong)



=

= --Apple-Mail-42-921624267-- --===============1397842591== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1397842591==--