From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50291 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: XeConTeXt bug report II: MetaPost Graphics Date: Tue, 12 May 2009 13:00:58 +0800 Message-ID: <68bfdc900905112200x33fa357eqa546bd9d4c4753a1@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016364edc12ffba050469affa07 X-Trace: ger.gmane.org 1242104710 27060 80.91.229.12 (12 May 2009 05:05:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 05:05:10 +0000 (UTC) To: mailing list for ConTeXt users , Jonathan Kew , Jin-Hwan Cho Original-X-From: ntg-context-bounces@ntg.nl Tue May 12 07:04:51 2009 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 1M3kAB-00061y-Gb for gctc-ntg-context-518@m.gmane.org; Tue, 12 May 2009 07:04:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A09861FEBD; Tue, 12 May 2009 07:04:21 +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 02184-08-7; Tue, 12 May 2009 07:03:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 28D821FED4; Tue, 12 May 2009 07:02:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3C3A1FEDD for ; Tue, 12 May 2009 07:02:22 +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 12025-03 for ; Tue, 12 May 2009 07:01:21 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 74DC21FEBD for ; Tue, 12 May 2009 07:01:00 +0200 (CEST) Original-Received: from mail-qy0-f103.google.com (mail-qy0-f103.google.com [209.85.221.103]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4C50wiH012615 for ; Tue, 12 May 2009 07:00:59 +0200 Original-Received: by qyk1 with SMTP id 1so4764886qyk.16 for ; Mon, 11 May 2009 22:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=KpSndpOhMsVG8UVBIWZMg+cFA2vTExB5EkSzTtBywBo=; b=JEYj2HCiPv81guwv+lRjWDX4eUUuMWPbIINf/1Zf/t9QgyMkFjDN/0BQdx4BHo1oVf CzZQc22xTUMQR2i/SVwG/lRgfnr3y8CpBwKv0coEJ/kvJAo1lvtZkaqOaU/YwgeqSJiV A0LTLOFZU3cW4THKK4fqzMuksFwMFWblUt5Nk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fTjVyG4U25+Ta02/Si7dEKrLrkEHKQkqE7DSws8atADYVuCaf/W+Djp3Oqd74yY/p+ o5AwURE5UDypMPS9lBp8V6XnqHZ6MG0931BzYL6BichG2uDN59WZXWKPi39Fft8b4/zy HdwtxSbugvfzvVctzDnW4GV1PNEz2X2zO5ghI= Original-Received: by 10.229.85.1 with SMTP id m1mr1344663qcl.56.1242104458098; Mon, 11 May 2009 22:00:58 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.221.103; 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: 223509217 - 1d4551dd0d4f - 20090512 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50291 Archived-At: --0016364edc12ffba050469affa07 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Hans and Jin-Hwan: Here is a simple ConTeXt metafun demo file: \starttext \setupcolors[state=start] \startMPpage path p ; color c[] ; p := fullsquare scaled 4cm ; c[0] := transparent(1,.5,red) ; c[1] := transparent(1,.5,green) ; c[2] := transparent(1,.5,blue) ; for i = 0 upto 2 : fill p rotated (i*30) withcolor white ; endfor ; for i = 0 upto 2 : fill p rotated (i*30) withcolor c[i] ; endfor ; addbackground withcolor transparent(1,.5,cmyk(0,0,1,0)) ; \stopMPpage \stoptext When process the file using luatex or pdftex, we can see a nice picture there. However, when 1) using pdftex to produce the dvi, and convert the dvi using dvipdfmx 2) using xetex to produce the pdf using xdvipdfmx the figure is placed at the wrong place. there will be a displacement for all the metapost figures when xetex is used to produce the graphics. I attach the wrong result in the mail. So my question is : - is this a bug in ConTeXt, or in (x)dvipdfmx. can the bug be fixed? Thanks Yue Wang --0016364edc12ffba050469affa07 Content-Type: application/pdf; name="test-metafun.pdf" Content-Disposition: attachment; filename="test-metafun.pdf" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fum4loqn0 JVBERi0xLjUKJeTw7fgK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+sQQmBRABGwWD/BD0YQgB9fA/MhiELwIfQDYDAKx3Bz45DPnfqy VlyhFlK4d8hKimyNakNWszlJsVNkUfEdJscwPYbFk3N767yrf/jx/BszZbB5RWFks5r8v4VTSfUW tmQqzSp9HYv9bfDc2SEZB+aQ5M58p0vyXciKlw65W6xhy8sWP9BRL7JKG8/aXnCPrdjLDFtj7nEW U2KlJ9ULcYm1MsZaJBG10u92w6hJPL1qahSt4eyNwiHfirzdBEceWWJe8KnoNkbIotCLx314KZJI 5EpIVzdJ8UHBEHxKxx6NPD0YCydBPDA+8abBnMztzqTner9QtoWo3XcUJ0paVHjGfb3thIUX+Ffx XHNNUdiqYYWKb/f1BfxTlu7hcPAayXcVH/IcvUxUZqJClW9US5HPtP22H42Yr1OL2SuSdwHp3ybf ZyjdLv9TNPm26uDRpd7ICx4Hg94YvZ2tOJuchIyx0I8/0fiK0qvBycXeCWDm2PYkL9ezV0q44qXY Gfo/YPnpaQplbmRzdHJlYW0KZW5kb2JqCjEzIDAgb2JqCjw8Ci9UeXBlL1hSZWYKL1Jvb3QgMSAw IFIKL0luZm8gMiAwIFIKL1NpemUgMTQKL1dbMSAyIDJdCi9GaWx0ZXIvRmxhdGVEZWNvZGUKL0xl bmd0aCA1Mgo+PgpzdHJlYW0KeNolxzESABEUBNGej0Xk/pmzCFwLU5u86gbOCTrNVFNMmGSyGOBC MR9a/8p8yhsuuvcEyAplbmRzdHJlYW0KZW5kb2JqCnN0YXJ0eHJlZgoxMjIyCiUlRU9GCg== --0016364edc12ffba050469affa07 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 ___________________________________________________________________________________ --0016364edc12ffba050469affa07--