[NTG-context] framed getbuffer
adityam at umich.edu
Wed Apr 11 15:19:07 CEST 2007
On Wed, 11 Apr 2007, Wolfgang Schuster wrote:
> 2007/4/11, Aditya Mahajan <adityam at umich.edu>:
>> 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
>> x^2 = x\cdot x
>> 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.
> 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
> vbox solution works.
Ah! Thanks for the explanation.
More information about the ntg-context