On Wed, 24 Nov 2010, Vladimir Lomov wrote:
Hi.
The example with start/stopintertext from 'mathalign.pdf' (My Way, Using \startalign and friends, Aditya Mahajan) gives error with current context (beta): <example file="ex2.tex"> %%% Seems that there is a problem with \start/stopintertext . This command is described in mathalign.pdf %%% (MyWay).
\starttext
Here the start/stopintertext should give text between formulas \startformula \startalign \NC \exp^{\imath t}=\cos t+\imath\sin t\NR \startintertext This is famous Euler formula, below one is known as Moivre formula \stopintertext \NC (\cos x + \imath\sin x)^{m} = \cos mx+\imath\sin mx \NR \stopalign \stopformula
That's it.
\stoptext </example>
! Misplaced \noalign. \startintertext #1\stopintertext ->\noalign {\dointertext {#1}} l.12 \stopintertext ? $ context --version
MTXrun | main context file: /usr/local/opt/context/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2010.11.20 12:51
Is this a bug or I do something wrong?
Bug, and it seems a rather old one. It also fails with 2010.05.24. I cannot debug this right now. A quick workaround is to use \intertext{...} instead. Aditya