ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: framed getbuffer
Date: Wed, 11 Apr 2007 05:52:14 -0400 (EDT)	[thread overview]
Message-ID: <alpine.WNT.0.98.0704110546040.2360@nqvgln> (raw)
In-Reply-To: <46023A75.5060900@elvenkind.com>

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

  reply	other threads:[~2007-04-11  9:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 22:52 Wolfgang Werners-Lucchini
2007-03-22  8:12 ` Taco Hoekwater
2007-04-11  9:52   ` Aditya Mahajan [this message]
2007-04-11 10:17     ` luigi scarso
2007-04-11 10:57     ` Wolfgang Schuster
2007-04-11 11:25       ` Taco Hoekwater
2007-04-11 13:19       ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.WNT.0.98.0704110546040.2360@nqvgln \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).