From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32510 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigure problem with \runMP[TEX]graphicsfalse Date: Thu, 04 Jan 2007 10:35:57 +0100 Message-ID: <459CCA7D.2090009@elvenkind.com> References: 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 1167903557 19541 80.91.229.12 (4 Jan 2007 09:39:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 09:39:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 04 10:39:16 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 1H2P45-0004wo-2j for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jan 2007 10:39:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9696120103; Thu, 4 Jan 2007 10:36: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 18868-01; Thu, 4 Jan 2007 10:36:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C92E200F5; Thu, 4 Jan 2007 10:33:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 27EC3200F6 for ; Thu, 4 Jan 2007 10:33:16 +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 18666-07-2 for ; Thu, 4 Jan 2007 10:33:12 +0100 (CET) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 662EB200EA for ; Thu, 4 Jan 2007 10:33:12 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 9D40C6476F for ; Thu, 4 Jan 2007 10:35:58 +0100 (CET) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31078-02 for ; Thu, 4 Jan 2007 10:35:58 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 50332645E6 for ; Thu, 4 Jan 2007 10:35:58 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net 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:32510 Archived-At: Sanjoy Mahajan wrote: > 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. Personally, I believe this is a bug. Hans always runs with all three switches true, so he never has any problems, but Mojca and I also regularly have issues like this. The last of those was the incorrect scaling of sometxt() in \runmpgraphicsfalse reported two or three weeks back. Hans, can you look at this, please? Or, if you don't want to support \runmpgraphics false any more, document that somewhere. Best, Taco > 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) > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context