Am 04.07.2012 um 18:24 schrieb Prashanth:

Hi,
The latest checkout has a problem with even the most trivial example of \startalign (taken from the wiki):
\starttext
\startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext

strc-mat.mkiv (I’m not sure if the first change after \dorecurse is correct)

\def\math_build_eqalign
  {\scratchtoks\emptytoks
-  \dorecurse{\mathalignmentparameter\c!m}\def\math_build_eqalign
+  \dorecurse{\mathalignmentparameter\c!m}\math_build_eqalign_step
   \normalexpanded{\scratchtoks{\the\scratchtoks\the\c_math_align_c}}}

\def\math_alignment_NR_indeed[#1][#2]%
- {\donestedformulanumber{#1}{#2}% to be tagged (better an attribute)
+ {\strc_formulas_place_number_nested{#1}{#2}% to be tagged (better an attribute)
   \crcr
   \dostoptagged % finish row
   \noalign{\glet\math_alignment_NC\math_alignment_NC_first}} % noalign used for change state, conditional does not work here

\def\math_align_NR_generic[#1][#2]%
- {\donestedformulanumber{#1}{#2}\crcr}
+ {\strc_formulas_place_number_nested{#1}{#2}\crcr}

Wolfgang