From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52122 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: metaobj and luatex 0.42.0 Date: Thu, 06 Aug 2009 22:13:34 +0200 Message-ID: <4A7B396E.20702@wxs.nl> References: <1249585103.867128157@192.168.1.201> <4A7B36B6.6040301@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249589611 18023 80.91.229.12 (6 Aug 2009 20:13:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 20:13:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 06 22:13:24 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZ9L2-0002ah-69 for gctc-ntg-context-518@m.gmane.org; Thu, 06 Aug 2009 22:13:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1C58C9B9E; Thu, 6 Aug 2009 22:13:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z0LnHmDQpK-U; Thu, 6 Aug 2009 22:13:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FE68C9B49; Thu, 6 Aug 2009 22:13:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3863EC9B49 for ; Thu, 6 Aug 2009 22:13:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MBUf62vXxlhP for ; Thu, 6 Aug 2009 22:13:00 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id E30E4C9B41 for ; Thu, 6 Aug 2009 22:12:59 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 31644-1840426 for ; Thu, 06 Aug 2009 22:12:59 +0200 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <4A7B36B6.6040301@elvenkind.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52122 Archived-At: Taco Hoekwater wrote: > Matthew Claus wrote: >> This minimal example works with "texexec example.tex" but fails with >> "context >> example.tex". >> >> \startMPinclusions input metaobj; \stopMPinclusions >> >> \starttext \startMPpage newBox.a(\sometxt{hello world}); a.c = origin; >> drawObj(a); >> >> \stopMPpage \stoptext >> >> Is this expected to work (I realize the 0.42.0 is very new) > > I am not surprised it fails. Most metapost code in mkiv is run at > least twice for some reason, and so equations tend to fail. You could > try with > > \startMPpage > newBox.a(\sometxt{hello world}); > a.c := origin; > drawObj(a); > \stopMPpage > > > but even then it depends on what newBox does internally. in general one needs to keep in mind that we're in one run, so even in the case of 'single runs' things can bleed from one to the other graphic; one should set up graphics as independent as possible Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________