From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20152 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: XYpic Date: Fri, 29 Apr 2005 10:21:20 +0200 Message-ID: <4271EE80.5020008@seznam.cz> 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> <4271DD7D.40701@logosrl.it> 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 1114762615 26352 80.91.229.2 (29 Apr 2005 08:16:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2005 08:16:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 29 10:16:52 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 1DRQfb-0001sI-0k for gctc-ntg-context-518@m.gmane.org; Fri, 29 Apr 2005 10:16:19 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6CDE127C0; Fri, 29 Apr 2005 10:22:00 +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 28408-01; Fri, 29 Apr 2005 10:22:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB1E9127BC; Fri, 29 Apr 2005 10:20:15 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C2BB1127BC for ; Fri, 29 Apr 2005 10:20:13 +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 28177-04 for ; Fri, 29 Apr 2005 10:20:12 +0200 (CEST) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id BB1301279D for ; Fri, 29 Apr 2005 10:20:12 +0200 (CEST) Original-Received: (qmail 3323 invoked from network); 29 Apr 2005 08:20:11 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by smtp.seznam.cz with SMTP; 29 Apr 2005 08:20:11 -0000 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4271DD7D.40701@logosrl.it> X-Antivirus: avast! (VPS 0516-6, 20.04.2005), Outbound message X-Antivirus-Status: Clean 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:20152 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20152 luigi.scarso wrote: > 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 :) ). ?? I obtained both a frame and a circle. >> 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). Yes, the cases 3a = 3b should have at least 3 runs. With shell_escape=t only 2 are needed. You are right. > 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. All right, I agree for somebody and sometimes xypic might be use with advantage. I was thinkink about general recommendation. > Sure for XYPic, name spaces collisions, cpu/memory required, syntax are + limitation by substance: drawing is mostly done via fonts > (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. Export to context is good news. But still no parametrization possible :-( vit