From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32504 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: staticMPfigure problem with \runMP[TEX]graphicsfalse Date: Thu, 04 Jan 2007 00:33:59 -0700 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167896064 31436 80.91.229.12 (4 Jan 2007 07:34:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 07:34:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 04 08:34:23 2007 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 1H2N7G-0003P8-9r for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jan 2007 08:34:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62C6920028; Thu, 4 Jan 2007 08:31:35 +0100 (CET) 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 12409-08-6; Thu, 4 Jan 2007 08:31:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9492A20008; Thu, 4 Jan 2007 08:31:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F2102000A for ; Thu, 4 Jan 2007 08:31:25 +0100 (CET) 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 12409-08-5 for ; Thu, 4 Jan 2007 08:31:18 +0100 (CET) Original-Received: from fed1rmmtao06.cox.net (fed1rmmtao06.cox.net [68.230.241.33]) by ronja.ntg.nl (Postfix) with ESMTP id 2AE0520006 for ; Thu, 4 Jan 2007 08:31:17 +0100 (CET) Original-Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao06.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20070104073402.QJJO2628.fed1rmmtao06.cox.net@fed1rmimpo02.cox.net>; Thu, 4 Jan 2007 02:34:02 -0500 Original-Received: from approximate.corpus.cam.ac.uk ([70.162.61.197]) by fed1rmimpo02.cox.net with bizsmtp id 6vaG1W00b4FL8ZA0000000; Thu, 04 Jan 2007 02:34:17 -0500 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.62) (envelope-from ) id 1H2N6t-0007mS-5a; Thu, 04 Jan 2007 00:33:59 -0700 Original-To: ntg-context@ntg.nl X-Mailer: MH-E 8.0; nmh 1.1; GNU Emacs 21.4.1 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:32504 Archived-At: Not sure if the following are new behaviors or are the correct ones but I'm just misunderstanding. The following jjj.tex file doesn't correctly generate and include the static metapost figure unless I set \runMPgraphicstrue and \runMPTEXgraphicstrue in cont-sys.rme and set shell_escape = t. If \runMPgraphicsfalse and \runMPTEXgraphicsfalse but shell_escape = t, then the generated pdf figure is only 1pt wide but is included. If all settings are false, then there's a grey square saying 'dummy' etc. It all works fine if all three settings are true. But I thought that one can leave all three settings false, and texexec will still produce the same pdf just with more runs? This is with context 2006.12.27 (from the Debian context package), pdftex 1.40.0, metapost 0.993, plus mostly texlive 2005. =================== begin: jjj.tex ================== \starttext \startstaticMPfigure{fig:ellipse} path p; p := fullcircle scaled 2in yscaled 0.5; label(btex hello etex, origin); draw p; \stopstaticMPfigure \placefigure[right,none]{}{\usestaticMPfigure[fig:ellipse]} \input tufte \stoptext =================== end: jjj.tex ================== -Sanjoy `A nation of slaves is always prepared to applaud the clemency of their master who, in the abuse of absolute power, does not proceed to the last extremes of injustice and oppression.' (Gibbon)