ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* White Space after \startalign
@ 2013-04-08 11:21 Devendra Ghate
  2013-04-08 15:49 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Devendra Ghate @ 2013-04-08 11:21 UTC (permalink / raw)
  To: ntg-context

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.

*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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: White Space after \startalign
  2013-04-08 11:21 White Space after \startalign Devendra Ghate
@ 2013-04-08 15:49 ` Hans Hagen
  2013-04-09  5:22   ` Devendra Ghate
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-04-08 15:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: White Space after \startalign
  2013-04-08 15:49 ` Hans Hagen
@ 2013-04-09  5:22   ` Devendra Ghate
  0 siblings, 0 replies; 3+ messages in thread
From: Devendra Ghate @ 2013-04-09  5:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Apr 08, 2013 at 05:49:51PM +0200, Hans Hagen wrote:
> 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
> 

Thank you Hans. Problem solved.

Cheers,
Devendra

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-09  5:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 11:21 White Space after \startalign Devendra Ghate
2013-04-08 15:49 ` Hans Hagen
2013-04-09  5:22   ` Devendra Ghate

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).