From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61766 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Metapost and underscore Date: Mon, 20 Sep 2010 02:42:02 -0400 (EDT) Message-ID: 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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284964610 23732 80.91.229.12 (20 Sep 2010 06:36:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2010 06:36:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 20 08:36:48 2010 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.69) (envelope-from ) id 1OxZzc-0003eE-H0 for gctc-ntg-context-518@m.gmane.org; Mon, 20 Sep 2010 08:36:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10D70CA6FC; Mon, 20 Sep 2010 08:36:47 +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 IMgqa8xmn450; Mon, 20 Sep 2010 08:36:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2733CA6E1; Mon, 20 Sep 2010 08:36:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02753CA6E1 for ; Mon, 20 Sep 2010 08:36:42 +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 b4RsyKLG3OYV for ; Mon, 20 Sep 2010 08:36:40 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E71C3CA6BF for ; Mon, 20 Sep 2010 08:36:39 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8K6abJU031658 for ; Mon, 20 Sep 2010 08:36:39 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096680921.dsl.bell.ca [65.94.5.217]) By hackers.mr.itd.umich.edu ID 4C9700F4.6DCCA.337 ; Authuser adityam; 20 Sep 2010 02:36:36 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bD8SABCA - 9193df889e07 - 20100920 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:61766 Archived-At: On Mon, 20 Sep 2010, Aditya Mahajan wrote: > Hi, > > Really bad things happen if the variable name in metapost contains an > underscore. It took me quite a while to isolate this problem. This is getting weirder. The bug is triggered even for the following example: \startMPpage rboxit.A (textext("A")) ; rboxit.B1 (textext("B")) ; rboxit.B2 (textext("C")) ; A.c = origin ; xpart B1.c = xpart B2.c = xpart A.c + 3cm ; ypart B1.s - ypart B2.n = 1cm ; drawboxed(A,B1,B2) ; \stopMPpage but disappears if I replace B1 with Ba and B2 with Bb! Aditya ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________