From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30782 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: runMPgraphicstrue produces undefined figure Date: Tue, 12 Sep 2006 18:07:24 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158098881 15718 80.91.229.2 (12 Sep 2006 22:08:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2006 22:08:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 13 00:07:58 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GNGPz-0002jE-9y for gctc-ntg-context-518@m.gmane.org; Wed, 13 Sep 2006 00:07:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A26A71FD81; Wed, 13 Sep 2006 00:07:46 +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 24868-01-5; Wed, 13 Sep 2006 00:07:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C1F01FD08; Wed, 13 Sep 2006 00:07:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29E4B1FD08 for ; Wed, 13 Sep 2006 00:07:35 +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 24868-01-4 for ; Wed, 13 Sep 2006 00:07:28 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with SMTP id BEF321FD02 for ; Wed, 13 Sep 2006 00:07:26 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY tombraider.mr.itd.umich.edu ID 45072F9B.CF3A9.11073 ; 12 Sep 2006 18:07:24 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30782 Archived-At: On Tue, 12 Sep 2006, Sanjoy Mahajan wrote: > I'm playing with simple files in order to learn metafun. The following > small example produces an undefined figure. It illustrates either a > context problem or, more likely, a confusion on my part. > > ================= cut here =========================================== > \runMPgraphicstrue > \starttext > > \startreusableMPgraphic{a} > fill fullcircle scaled 2cm; > \stopreusableMPgraphic > > \placefigure[here,none]{}{\reuseMPgraphic{a}} > \input tufte > \stoptext > ================= cut here =========================================== > > The figure is a square saying 'undefined'. Taking away the > \runMPgraphicstrue line produces the expected filled circle. > > I use a web2c distribution (linux) with > > context version 2006.08.08 21:51, > TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD Strange... It works fine here with ConTeXt ver: 2006.09.10 13:33 MK II fmt: 2006.9.10 int: english/english Normally, runMPgraphics is set to true in one of the files, so you do not need to set it to true. I have no idea why you should be getting 'undefined'. Check your log file for systems : system commands are enabled and system(mpost -progname=metafun -mem=metafun mptest-mpgraph)...executed. Aditya