Re: [NTG-context] eqalignno failing

2017-04-26 Thread Otared Kavian
Hi Hans,

Since a few weeks (or months?…) ago the use of \eqno and \eqalignno has been 
changed in mkiv. 
It is better to use the construction such as:

\placeformula
\startformula
\startalign
\NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc]
\NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo]
\stopalign
\stopformula

Best regards: OK
 

> On 26 Apr 2017, at 15:39, Meer, Hans van der  wrote:
> 
> This code now fails where before contextbeta had no problems:
> 
> tex error   > tex error on line 101 in file Info/waarneming.tex: ! 
> Misplaced alignment tab character &
> 
>  &
>  
> l.101 H(I,J) &
>  = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr
> 
>   99 \placeformula\startformula
> 100 \eqalignno{
> 101 >>  H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr
> 102 W(I,J) &= H(J) - H(J|I)\qquad&\hbox{\ineq[eq:wedinfo]}\cr
> 103 }
> 104 \stopformula
>  
> This happens in ConTeXt  ver: 2017.04.16 12:32 MKIV beta  fmt: 2017.4.16  
> int: english/english
> I am not sure when this started to happen, but for sure after 2016-02-12.
> 
> Here is a minimal example to run:
> 
> \starttext
> \placeformula\startformula
> \eqalignno{
> 3x - 4y &= 5   \cr
> x  +  7 &= -2y \cr
> z &= 2
> }
> \stopformula
> \stoptext
> 
> Hans van der Meer
> 
> 
> 
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] eqalignno failing

2017-04-26 Thread Meer, Hans van der
This code now fails where before contextbeta had no problems:

tex error   > tex error on line 101 in file Info/waarneming.tex: ! 
Misplaced alignment tab character &

 &



l.101 H(I,J) &
 = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr

  99 \placeformula\startformula
100 \eqalignno{
101 >>  H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr
102 W(I,J) &= H(J) - H(J|I)\qquad&\hbox{\ineq[eq:wedinfo]}\cr
103 }
104 \stopformula

This happens in ConTeXt  ver: 2017.04.16 12:32 MKIV beta  fmt: 2017.4.16  int: 
english/english
I am not sure when this started to happen, but for sure after 2016-02-12.

Here is a minimal example to run:

\starttext
\placeformula\startformula
\eqalignno{
3x - 4y &= 5   \cr
x  +  7 &= -2y \cr
z &= 2
}
\stopformula
\stoptext

Hans van der Meer




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___