[NTG-context] Bug with setupformulas and startalign?

Hans Hagen pragma at wxs.nl
Fri Apr 14 20:30:43 CEST 2006


Aditya Mahajan wrote:
> On Thu, 13 Apr 2006, Aditya Mahajan wrote:
>
>   
>> Is this a bug or am I missing something simple?
>>
>> \startmode[bug]
>>   \setupformulas[align=right, leftmargin=3em]
>> \stopmode
>>
>> \starttext
>> \startformula \startalign
>>   \NC a \NC= b \NR
>>   \NC c \NC= d \NR
>> \stopalign \stopformula
>> \stoptext
>>
>>     
> Should have given more details. When I compile using --mode=bug, I get
> ! You can't use `\halign' in math mode.
> \aligneqalignno ->\prepareeqalignno \halign
>                                              \ifcase \eqalignmode \or 
> to \dis...
> <to be read again>
>                     \NC
> l.45   \NC
>             a \NC= b \NR
>
> I am using ConTeXt  ver: 2006.04.07 11:24  fmt: 2006.4.9
>   
hm, some tricky interference with the surrounding math

i'll send you (and taco) a patch to check 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list