From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31101 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: btex..etex fails in reusableMPgraphic (2006.09.28 beta) Date: Thu, 28 Sep 2006 20:40:49 -0400 Message-ID: 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 1159493664 4948 80.91.229.2 (29 Sep 2006 01:34:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2006 01:34:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 29 03:34:22 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 1GT7Gg-00014p-ET for gctc-ntg-context-518@m.gmane.org; Fri, 29 Sep 2006 03:34:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 052D71FF82; Fri, 29 Sep 2006 03:34:21 +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 32366-04-5; Fri, 29 Sep 2006 03:34:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9A201FE32; Fri, 29 Sep 2006 03:34:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A10681FF62 for ; Fri, 29 Sep 2006 03:34:12 +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 01094-06-3 for ; Fri, 29 Sep 2006 03:34:02 +0200 (CEST) Original-Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by ronja.ntg.nl (Postfix) with SMTP id 5B20D1FE32 for ; Fri, 29 Sep 2006 03:34:00 +0200 (CEST) Original-Received: from [24.41.6.91] (helo=approximate.corpus.cam.ac.uk) by elasmtp-mealy.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1GT7GH-0001LU-GB; Thu, 28 Sep 2006 21:33:57 -0400 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.60) (envelope-from ) id 1GT6Qr-0004iL-Sv; Thu, 28 Sep 2006 20:40:49 -0400 Original-To: ntg-context@ntg.nl X-Mailer: MH-E 7.85; nmh 1.1; GNU Emacs 21.4.1 X-ELNK-Trace: dcd19350f30646cc26f3bd1b5f75c9f474bf435c0eb9d4786a166ed818d7c747b18ee4b4f250982e852111c7a8f4e425350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.41.6.91 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:31101 Archived-At: Unless I'm doing something very silly, the following should and I am almost certain did work, but it fails with the 2006.09.28 beta: ================ btex.tex =================== \starttext \startreusableMPgraphic{fig} label(btex in b/e tex etex, origin); \stopreusableMPgraphic outside btex..etex\quad \reuseMPgraphic{fig} \stoptext ============================================ The output says systems : begin file btex-mpgraph-temp at line 42 ! Missing $ inserted. $ _ l.48 _ special_div_ := 10000; ? Here's a snippet from btex-mpgraph-temp.tex: \starttext \startMPXpage " mpgraph:=1; randomseed:=33; _special_div_ := 10000; The underscores in the variable name are upsetting to tex. I haven't tracked down the chain of influence that put them there. Meanwhile the same btex..etex test on a static MP figure works fine: ==================== btex-static.tex ================ \starttext \startstaticMPfigure{fig} label(btex in b/e tex etex, origin); \stopstaticMPfigure outside btex..etex\quad \usestaticMPfigure[fig] \stoptext ==================================================== -Sanjoy `A society of sheep must in time beget a government of wolves.' -- Bertrand de Jouvenal