From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20150 Path: news.gmane.org!not-for-mail From: "luigi.scarso" Newsgroups: gmane.comp.tex.context Subject: Re: XYpic Date: Fri, 29 Apr 2005 09:08:45 +0200 Message-ID: <4271DD7D.40701@logosrl.it> References: <426E5FA6.3020600@logosrl.it> <58a0167512a8c8eca8721238f25bd090@fiee.net> <426F670F.1050900@seznam.cz> <42709848.4050807@logosrl.it> <4270BE08.50203@seznam.cz> <4270C2D2.8050501@logosrl.it> <42715E34.5090804@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114758235 13821 80.91.229.2 (29 Apr 2005 07:03:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2005 07:03:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 29 09:03:51 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRPWy-0006WC-5P for gctc-ntg-context-518@m.gmane.org; Fri, 29 Apr 2005 09:03:20 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75C5B127B4; Fri, 29 Apr 2005 09:08:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27442-05; Fri, 29 Apr 2005 09:08:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CAFC1279C; Fri, 29 Apr 2005 09:08:54 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 208481279C for ; Fri, 29 Apr 2005 09:08:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27546-02 for ; Fri, 29 Apr 2005 09:08:51 +0200 (CEST) Original-Received: from ServerNotes.logosrl.it (unknown [81.208.99.91]) by ronja.ntg.nl (Postfix) with ESMTP id 2CBFF12799 for ; Fri, 29 Apr 2005 09:08:51 +0200 (CEST) Original-Received: from [192.168.2.85] ([192.168.2.85]) by ServerNotes.logosrl.it (Lotus Domino Release 6.5.1) with ESMTP id 2005042909085356-678 ; Fri, 29 Apr 2005 09:08:53 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42715E34.5090804@seznam.cz> X-MIMETrack: Itemize by SMTP Server on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 29/04/2005 09.08.53, Serialize by Router on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 29/04/2005 09.08.54, Serialize complete at 29/04/2005 09.08.54 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20150 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20150 Vit, many thanks for your answer. Vit Zyka wrote: > 1. For a moment I set > shell_escape = f > in `kpsewhich texmf.cnf' > ok, done > 2. Input file f.tex: > \startuseMPgraphic{A} > draw unitcircle scaled\overlaywidth; > \stopuseMPgraphic > > \defineoverlay > [B] > [\uniqueMPgraphic{A}] > > \starttext > \framed[background=B]{Hallo frame!} > \stoptext > > 3a. classical run > texexec --pdf f > No circle under frame, right? If not, I have a bad installation; please discard the rest (and some hints to repair will be really appreciate :) ). > 3b. step by step > texexec --pdf --nomp f > mpost f-mpgraph > texexec --pdf --nomp f > > A circle appear under the frame. But I have 3 runs ( texexec, mpost, texexec). Now, what is my goal ? To achieve a circle under the frame as quick as possible. For 3.a, in f.log I find mpost -progname=mpost -mem=metafun f-mpgraph system()...disabled. An attempt to run mpost failed: no circle, goal unsatisfied. For 3.b, I run manually mpost (and then again texexec): goal satisfied. With shell_export=t, 3.a) is ok, but f.log says system(mpost -progname=mpost -mem=metafun f-mpgraph)...executed. So it seems that my goal can be achieved only with a run of mpost. With XYPic, a similar result can be achieved without mpost: %% %% WARNING:: deprecated example %% Don't use it ! %% \input xy \xyoption{frame} \starttext \xy (0,0) *++=\hbox{\framed{Hallo frame}} *\frm{o} ; \endxy \stoptext Of course this doesn't mean that XY is better/worse than mpost, nor that using mpost coupled with context will be always slow than others ways; but sometimes a faster alternative may be required. Sure for XYPic, name spaces collisions, cpu/memory required, syntax are (some) items to consider: but it also comes with a bunch of features and may be faster than mpost in some circumstances. [OT] XFIG: fig2dev can be export to metapost and in multi-metapost. Hence, from the moon, I see that xfig can be used with context. luigi