From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34189 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: framed getbuffer Date: Wed, 11 Apr 2007 09:19:07 -0400 (EDT) Message-ID: References: <4601C521.12365.E9A5CF@wwl.musensturm.de> <46023A75.5060900@elvenkind.com> <115224fb0704110357u7b247c9ai8f744d3756c474f3@mail.gmail.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 1176301523 17937 80.91.229.12 (11 Apr 2007 14:25:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2007 14:25:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 11 16:25:17 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 1HbcjH-0005S5-01 for gctc-ntg-context-518@m.gmane.org; Wed, 11 Apr 2007 15:19:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 103B91FCE9; Wed, 11 Apr 2007 15:19:18 +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 27478-01; Wed, 11 Apr 2007 15:19:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 973311FCBB; Wed, 11 Apr 2007 15:19:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80FCA1FCBB for ; Wed, 11 Apr 2007 15:19:07 +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 26751-05 for ; Wed, 11 Apr 2007 15:19:05 +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 D80DA1FC87 for ; Wed, 11 Apr 2007 15:19:04 +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 461CE047.6A6A8.32161 ; 11 Apr 2007 09:19:03 -0400 In-Reply-To: <115224fb0704110357u7b247c9ai8f744d3756c474f3@mail.gmail.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:34189 Archived-At: On Wed, 11 Apr 2007, Wolfgang Schuster wrote: > 2007/4/11, Aditya Mahajan : >> >> 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 > > > Hi Aditya, > > it is more a problem related to horizontal and vertical modes/boxes, you can > test it by placing \startformula .. \startformula into a hbox/vbox and only > the > vbox solution works. Ah! Thanks for the explanation. Aditya