ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: White Space after \startalign
Date: Mon, 08 Apr 2013 17:49:51 +0200	[thread overview]
Message-ID: <5162E71F.3050107@wxs.nl> (raw)
In-Reply-To: <20130408112148.GA2878@gmail.com>

On 4/8/2013 1:21 PM, Devendra Ghate wrote:
> Dear all,
>
> I have noticed a new problem in the \startalign environment recently.
> \startalign adds whitespace after the formula. If I remove the *\NR* from the
> last equation then the white space disappears. But I need to keep it for
> numbering the last equation.
>
> In any case, I thought that the last *\NR* is required in the *math
> align* environment. I remember getting errors for not including the last
> \NR when I was just starting out with ConTeXt. May be something has
> changed or my memory is not quite what I thought it was.
>
> Please let me know if I am making a silly mistake. Thank you for your
> time in advance.

a side effect of \startalign being math or text aware (lookahead issue 
in low level tex align) ... fixed in next upload

> *MWE*
>
> \starttext¬
> Some text before the equation.¬
>     \placeformula¬
>     \startformula \startalign¬
>       \NC a \NC= b\NR¬
>       \NC c \NC= d\NR[eq:trivial]¬
>     \stopalign \stopformula¬
> Some text after the equation.¬
> \stoptext¬
>
> Regards,
> Devendra Ghate
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2013-04-08 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 11:21 Devendra Ghate
2013-04-08 15:49 ` Hans Hagen [this message]
2013-04-09  5:22   ` Devendra Ghate

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=5162E71F.3050107@wxs.nl \
    --to=pragma@wxs.nl \
    --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).