From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31012 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \sometxt in staticMPfigure Date: Tue, 26 Sep 2006 13:02:33 +0100 Message-ID: References: <4518F980.5040000@wxs.nl> 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 1159272184 25234 80.91.229.2 (26 Sep 2006 12:03:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2006 12:03:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 26 14:02: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 1GSBeM-0008R3-8N for gctc-ntg-context-518@m.gmane.org; Tue, 26 Sep 2006 14:02:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A63E91FEEC; Tue, 26 Sep 2006 14:02:56 +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 15225-05; Tue, 26 Sep 2006 14:02:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 819551FEE2; Tue, 26 Sep 2006 14:02:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 967901FEE2 for ; Tue, 26 Sep 2006 14:02:43 +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 14869-02 for ; Tue, 26 Sep 2006 14:02:37 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id 77B361FEDC for ; Tue, 26 Sep 2006 14:02:35 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1GSBdx-0006OH-U7; Tue, 26 Sep 2006 13:02:33 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1GSBdx-0007Ku-00; Tue, 26 Sep 2006 13:02:33 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Tue, 26 Sep 2006 11:57:20 +0200." <4518F980.5040000@wxs.nl> 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:31012 Archived-At: > > \starttext > > > > \startMPinclusions > > input boxes > > \stopMPinclusions > > > > \startstaticMPfigure{fig} > > boxit.h(btex h etex); > > drawboxed(h); > > \stopstaticMPfigure > > > > \usestaticMPfigure[fig] > > > > xyz > > > > \stoptext > hm, i'll add the inclusions > (here it fails anyway doe to some > > clearboxes->clearboxes > .clearb_(h); I'd seen those errors in one of my tests. Oh, that's what it was: I'd tried the input boxes line in the figure itself. Had you tried the same thing either by hand or with the inclusions or verbatimtex..etex material going inside the figure? Here's the test file: \starttext \startstaticMPfigure{fig} input boxes boxit.h(btex h etex); drawboxed(h); \stopstaticMPfigure \usestaticMPfigure[fig] \stoptext Regular metapost gives the same clearboxes error (not sure if it's a MP bug or something tricky the boxes package did that doesn't work inside a figure?). Feed this file to mpost to test: beginfig(1) input boxes boxit.h(btex h etex); drawboxed(h); endfig; end > i'll make a new beta Thanks. -Sanjoy