From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: intertext error in mkiv
Date: Tue, 23 Nov 2010 11:17:55 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.01.1011231116290.13592@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <20101123161313.GB5475@smoon>
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>
>
> <error_message>
> ! Misplaced \noalign.
> \startintertext #1\stopintertext ->\noalign
> {\dointertext {#1}}
> l.12 \stopintertext
> ?
> </error_message>
>
> $ 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
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-23 16:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 16:13 Vladimir Lomov
2010-11-23 16:17 ` Aditya Mahajan [this message]
2010-11-23 16:27 ` Vladimir Lomov
2011-05-04 10:22 ` Julian Becker
2011-05-05 8:11 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.01.1011231116290.13592@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).