ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: intertext error in mkiv
Date: Wed, 24 Nov 2010 00:27:46 +0800	[thread overview]
Message-ID: <20101123162746.GE5475@smoon> (raw)
In-Reply-To: <alpine.LNX.2.01.1011231116290.13592@ybpnyubfg.ybpnyqbznva>

** Aditya Mahajan [2010-11-23 11:17:55 -0500]:

> 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.
Ok, thanks.

P.S. I thought that all start/stopXXX commands has cousin commands
\XXX. Seems that I was wrong.

-- 
On the subject of C program indentation:
	"In My Egotistical Opinion, most people's C programs should be
	indented six feet downward and covered with dirt."
		-- Blair P. Houghton
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2010-11-23 16:27 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
2010-11-23 16:27   ` Vladimir Lomov [this message]
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=20101123162746.GE5475@smoon \
    --to=lomov.vl@gmail.com \
    --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).