From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34183 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: framed getbuffer Date: Wed, 11 Apr 2007 05:52:14 -0400 (EDT) Message-ID: References: <4601C521.12365.E9A5CF@wwl.musensturm.de> <46023A75.5060900@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" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176298028 25671 80.91.229.12 (11 Apr 2007 13:27:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2007 13:27:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 11 15:27:05 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1HbZXA-0002v2-Mn for gctc-ntg-context-518@m.gmane.org; Wed, 11 Apr 2007 11:54:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C53E1FC43; Wed, 11 Apr 2007 11:54:36 +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 09913-01; Wed, 11 Apr 2007 11:54:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9BB01FC51; Wed, 11 Apr 2007 11:52:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38E981FC51 for ; Wed, 11 Apr 2007 11:52:15 +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 08819-02-4 for ; Wed, 11 Apr 2007 11:52:12 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 45E251FC3E for ; Wed, 11 Apr 2007 11:52:12 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY skycaptain.mr.itd.umich.edu ID 461CAFCA.9300B.12877 ; 11 Apr 2007 05:52:10 -0400 In-Reply-To: <46023A75.5060900@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:34183 Archived-At: On Thu, 22 Mar 2007, Taco Hoekwater wrote: > Wolfgang Werners-Lucchini wrote: >> Hallo! >> >> The following simple example doesn't compile >> (ConTeXt ver. 2007.01.02 and Live ConTeXt). >> >> What am I doing wrong? > > Diagnostics: > > The problem is not caused by the \framed, but by the (lack of) > parsing done by the buffering routines. > Because the \startformula is not expanded, TeX does not realise > you are in math mode, so it objects to the ^ character. > > > This is 'not right' but I suspect it is not all that simple > to fix the context core to do this properly (I would love to be > proved wrong). This is a serious bug. Even a simple example fails with the same error. \starttext \framed{ \startformula x^2 = x\cdot x \stopformula} \stoptext A quick workaround is to use frametext instead of framed, but I am pretty sure that the above example used to work at some stage. Aditya