From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16275 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Re: Re: btex ... etex in .mp Date: Fri, 27 Aug 2004 18:48:19 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040827164819.GC2604@puritan.pcp.ath.cx> References: <20040826200723.GC30875@puritan.pcp.ath.cx> <20040827093200.7545bd81@glenlivet.elvenkind.com> <20040827103231.GB2604@puritan.pcp.ath.cx> <20040827153658.6d1fce52@glenlivet.elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093625315 3652 80.91.224.253 (27 Aug 2004 16:48:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2004 16:48:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 27 18:48:24 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0jto-0006H4-00 for ; Fri, 27 Aug 2004 18:48:24 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E66512784; Fri, 27 Aug 2004 18:48:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03609-03; Fri, 27 Aug 2004 18:48:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 77B4412777; Fri, 27 Aug 2004 18:48:20 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C53B112777 for ; Fri, 27 Aug 2004 18:48:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03527-04 for ; Fri, 27 Aug 2004 18:48:19 +0200 (CEST) Original-Received: from mxfep01.bredband.com (unknown [195.54.107.70]) by ronja.ntg.nl (Postfix) with ESMTP id 189E61276F for ; Fri, 27 Aug 2004 18:48:19 +0200 (CEST) Original-Received: from puritan.pcp.ath.cx ([213.112.43.242] [213.112.43.242]) by mxfep01.bredband.com with ESMTP id <20040827164818.SOTY5206.mxfep01.bredband.com@puritan.pcp.ath.cx> for ; Fri, 27 Aug 2004 18:48:18 +0200 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id C6145AE041; Fri, 27 Aug 2004 18:48:19 +0200 (CEST) Original-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <20040827153658.6d1fce52@glenlivet.elvenkind.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16275 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16275 * Taco Hoekwater [Aug 27, 2004 15:40]: > Don't know. Metapost seems to be complaining about something > that is part of extra_endfig, but neither trees.mp nor mp-text.mp > do anything with that, so it may be completely unrelated ? Actually, it was boxes.mp's fault. I was "input"ing boxes from two places, and it was not multiple-inclusion-protected, so line 122 of metapost/base/boxes.mp was being executed twice, adding clearboxesclearboxes instead of only clearboxes. The line is buggy though, as it should read extra_endfig := extra_endfig & "clearboxes;"; My error report should have been >> clearboxesclearboxes ! Isolated expression. : : which I didn't realize until now. Who should one contact about fixing that? Anyway, the real problem was that texexec doesn't run with --mptex when it actually needs to. If there are textext() stuff or other generated btex ... etex stuff, but no btex ... etex in the picture itself, the extra run for the labels is not performed. This needs fixing and should probably not be impossible to fix, but I guess it's yet another one of my "pushing the limits of ConTeXt/MetaPost"-problems. I cannot quite figure out how texexec determines whether to run an extra run of the files, but it won't. I can provide an example of this off-list (as there are quite a few files necessary for even a small example) if anyone is interested. The temporary solution is thus to include at least one btex ... etex sequence in the graphic: label(textext(""), origin); which of course is crap, but it's the best I could come up with. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}