[NTG-context] help with startformulas and startalign

2010-07-27 Thread Julian Becker
Hi everybody,
I'm new to ConTeXt and need a little expert help. When I'm running the
following 'test.tex' file

\starttext
\placeformula
\startformulas
\startformula
\startalign
\NC A \NC = B \NR[+]
\NC C \NC = D \NR[+]
\stopalign
\stopformula
\startformula E \stopformula
\stopformulas
\stoptext
--

I get the following errors:

systems : begin file test.tex at line 1
! Missing $$ inserted.
to be read again
 \Ustopdisplaymath
\stopformula -\normalstopformula
  \egroup \Ustopmath \hss
argument ...= D \NR [+] \stopalign \stopformula
   \startformula E \stopformula
\dostartformulas ...la \egroup \Ustopmath \hss }#2
\egroup \stopdisplaymath \...
l.12 \stopformulas

! You can't use `\Ustopdisplaymath' in horizontal mode
pages  flushing realpage 1, userpage 1, subpage 1
systems : end file test.tex at line 14


Does anybody know how to do this right? Startformulas itself works allright,
if I leave out the alignment part. I also tried startmathalignment instead,
but it gave the same errors.

Best regards,
Julian
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help with startformulas and startalign

2010-07-27 Thread Taco Hoekwater

On 07/27/2010 02:21 PM, Julian Becker wrote:


I get the following errors:

systems : begin file test.tex at line 1
! Missing $$ inserted.
to be read again
  \Ustopdisplaymath


This is a bug in luatex that will be fixed in the next beta,
it is not your fault. Until then, this definition somewhere
before \starttext should fix it:

  \def\Ustopdisplaymath{$$}

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help with startformulas and startalign

2010-07-27 Thread Julian Becker
Thanks a lot, this did the trick.

best regards, Julian

2010/7/27 Taco Hoekwater t...@elvenkind.com

 On 07/27/2010 02:21 PM, Julian Becker wrote:


 I get the following errors:

 systems : begin file test.tex at line 1
 ! Missing $$ inserted.
 to be read again
  \Ustopdisplaymath


 This is a bug in luatex that will be fixed in the next beta,
 it is not your fault. Until then, this definition somewhere
 before \starttext should fix it:

  \def\Ustopdisplaymath{$$}

 Best wishes,
 Taco




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___