From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36505 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: xetex and external pdf stretching Date: Thu, 13 Sep 2007 13:00:27 +0200 Message-ID: <6faad9f00709130400j7ba0bf43v9c5495f7edfa3a83@mail.gmail.com> References: <9C1FC149-7B67-40A9-81E0-CD2E85AED661@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189681272 16101 80.91.229.12 (13 Sep 2007 11:01:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 11:01:12 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 13:01:10 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 1IVmRP-0004pC-VN for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2007 13:01:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AC52C20029; Thu, 13 Sep 2007 13:00:54 +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 13543-02-8; Thu, 13 Sep 2007 13:00:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AD7D21FFCA; Thu, 13 Sep 2007 13:00:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7C2220003 for ; Thu, 13 Sep 2007 13:00:40 +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 13540-04-9 for ; Thu, 13 Sep 2007 13:00:29 +0200 (CEST) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by ronja.ntg.nl (Postfix) with ESMTP id 882141FF93 for ; Thu, 13 Sep 2007 13:00:29 +0200 (CEST) Original-Received: by nz-out-0506.google.com with SMTP id m7so433719nzf for ; Thu, 13 Sep 2007 04:00:28 -0700 (PDT) Original-Received: by 10.142.178.13 with SMTP id a13mr48080wff.1189681228025; Thu, 13 Sep 2007 04:00:28 -0700 (PDT) Original-Received: by 10.143.44.6 with HTTP; Thu, 13 Sep 2007 04:00:27 -0700 (PDT) In-Reply-To: <9C1FC149-7B67-40A9-81E0-CD2E85AED661@di.unito.it> Content-Disposition: inline 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:36505 Archived-At: 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.} > {\externalfigure[pipeline][width=\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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________