Hi,
I use that:
\def\startsplit
{\startalign} % no number by default
\def\stopsplit
{&\doalignNR[+][]\crcr % for a number on last line
\stopalign}
but in my text:
\startformula
\startsplit
\NC A \NC = (11 + 2x) × (6 + 2x) \text{ cm}^2 \NR
\NC \NC = 66 + 22x + 12x + 4x^2 \NR
\NC \NC = 4x^2 + 34x + 66
\stopsplit
\stopformula
it fails:
floatblocks > 4 moved
pages > flushing realpage 19, userpage 19
floatblocks > 5 saved
! Undefined control sequence.
system > tex > error on line 933 in file /home/xan/SYNC/cepasud-raw-mercurial/classe/ESPA4/planificació/Tema1-Funció-quadràtica/97-Quadràtica-a-la-realitat.conTeXt: Undefined control sequence ...
923 \startalignment[center]
924 {\bf Resolució}
925 \stopalignment
926
927 L'àrea de l'acer abans de tallar serà:
928 \startformula
929 \startsplit
930 \NC A \NC = (11 + 2x) × (6 + 2x) \text{ cm}^2 \NR
931 \NC \NC = 66 + 22x + 12x + 4x^2 \NR
932 \NC \NC = 4x^2 + 34x + 66
933 >> \stopsplit
934 \stopformula
935
936 %Area of steel after cutting out the 11 × 6 middle:
937 %Area = 4x2 + 34x + 66 - 66
938 %Area = 4x2 + 34x
939
940
941 \stopnarrower
942 \stopmode
943
\stopsplit ^^@-&\doalignNR
[+][]\crcr \stopalign
l.933 \stopsplit
? r
What happens that? I use MKIV. 2013.10.09
Thanks in advance,
Xan.