From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45065 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: mkiv: bug in processMPbuffer Date: Fri, 24 Oct 2008 11:37:26 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224843163 6942 80.91.229.12 (24 Oct 2008 10:12:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 10:12:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 24 12:13:43 2008 connect(): Connection refused 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 1KtJfl-0000yB-Fy for gctc-ntg-context-518@m.gmane.org; Fri, 24 Oct 2008 12:13:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 36E4D1FC00; Fri, 24 Oct 2008 12:12:29 +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 10396-01-6; Fri, 24 Oct 2008 12:11:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DFE811FBD5; Fri, 24 Oct 2008 11:38:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5AE6D1FB71 for ; Fri, 24 Oct 2008 11:38: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 03441-01-7 for ; Fri, 24 Oct 2008 11:37:52 +0200 (CEST) Original-Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by ronja.ntg.nl (Postfix) with ESMTP id F08BD1FCD3 for ; Fri, 24 Oct 2008 11:37:38 +0200 (CEST) Original-Received: from cauchy.math.uvsq.fr (cauchy.math.uvsq.fr [193.51.32.2]) by soleil.uvsq.fr (8.14.1/jtpda-5.4) with ESMTP id m9O9bUg9074069 for ; Fri, 24 Oct 2008 11:37:30 +0200 (CEST) Original-Received: from MacKavian.math.uvsq.fr (MacKavian.math.uvsq.fr [193.51.32.142]) by cauchy.math.uvsq.fr (8.14.2/jtpda-5.4) with ESMTP id m9O9bRmD033411 for ; Fri, 24 Oct 2008 11:37:29 +0200 (CEST) X-Mailer: Apple Mail (2.929.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (soleil.uvsq.fr [193.51.24.1]); Fri, 24 Oct 2008 11:37:30 +0200 (CEST) X-Miltered: at soleil.uvsq.fr with ID 4901975A.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Score: MSGID : 4901975A.002 on soleil.uvsq.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-Virus-Scanned: ClamAV 0.92.1/8483/Fri Oct 24 05:01:54 2008 on soleil.uvsq.fr X-Virus-Status: Clean 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:45065 Archived-At: Hi Hans and Taco, The latest beta solves the problems metioned by Thomas Schmitz and = myself concerning \uniqueMPgraphic: many thanks for your attention. However, I observed the following regarding \processMPbuffer: some = grahpics don't show up when tyepset with mkiv, while they are fine = with mkii. (This with mkiv, LuaTeX revision 2, (LuaTeX date stamp 2008102016), = ConTeXt version 2008.10.23 17:32). (For the Chief of Rumour Control: it is not crucial to address the = reported bug urgently=85). Best regards: OK %% begin bug-processMPbuffer.tex \setupcolors[state=3Dstart] \starttext \startbuffer[axes-1] textextoffset :=3D ExHeight ; numeric u ; u :=3D .5cm ; vardef arrowheadonpath (expr p, s) =3D save autoarrows ; boolean autoarrows ; autoarrows :=3D true ; set_ahlength(scaled ahfactor) ; % arrowhead p if s<1 : cutafter (point (s*arclength(p)+.5ahlength) on p) = fi enddef ; path xox ; xox :=3D (-u,0)--(8u,0) ; path yoy ; yoy :=3D (0,-u)--(0,7u) ; draw xox withcolor blue ; draw yoy withcolor blue ; ahfactor :=3D 4 ; % default is 2.5 fill arrowheadonpath(xox,1) withcolor .625blue ; % try .25 fill arrowheadonpath(yoy,1) withcolor .625blue ; % try .25 \stopbuffer \startbuffer[chemin-1] textextoffset :=3D ExHeight ; numeric u ; u :=3D .5cm ; z1 =3D (5u,0) ; z2 =3D z1 rotated 60 ; z11 =3D z1 rotated 15 ; z12 =3D z1 rotated 30 ; z13 =3D z1 rotated 45 ; z0 =3D (2u,0) rotated 30 ; path gamma ; gamma :=3D (0,0)--(5u,0) ; draw gamma withpen pencircle scaled .4mm withcolor .625yellow ; path gammaR ; gammaR :=3D z1..z11..z12..z13..z2 ; draw gammaR withpen pencircle scaled .4mm withcolor .625yellow ; dotlabel.bot (btex \switchtobodyfont[10pt] \strut $R$ etex, z1) ; path gammaRR ; gammaRR :=3D z2--(0,0) ; draw gammaRR withpen pencircle scaled .4mm withcolor .625yellow ; dotlabel.top (btex \switchtobodyfont[10pt] \strut $R{\rm e}^{2{\rm i} = \pi/n}$ etex , z2) ; dotlabel.rt (btex \switchtobodyfont[10pt] \strut ${\rm e}^{{\rm i}\pi/ = n}$ etex , z0) ; label.rt (btex \switchtobodyfont[10pt] \strut $\Gamma_{R}$ etex , z11) ; fill arrowheadonpath(gamma,.4) withcolor .625yellow ; fill arrowheadonpath(gammaR,.4) withcolor .625yellow ; fill arrowheadonpath(gammaRR,.4) withcolor .625yellow ; \stopbuffer This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv} {mkiv, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp)} {mkii, using the command: \type{texexec basic-test.tex}}, ConTeXt version \contextversion. % LuaTeX version \luatexversion, This MetaPost graphic is shown with mkiv: \placefigure[middle][-]{none}{\processMPbuffer[chemin-1]} {} \blank but not this one \placefigure[middle][-]{none}{\processMPbuffer[axes-1]} {} \blank nor this one \placefigure[middle][-]{none}{\processMPbuffer[axes-1,chemin-1]} {} \stoptext %% end of bug-processMPbuffer.tex ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________