ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* eqalignno failing
@ 2017-04-26 13:39 Meer, Hans van der
  2017-04-26 14:38 ` Otared Kavian
  0 siblings, 1 reply; 2+ messages in thread
From: Meer, Hans van der @ 2017-04-26 13:39 UTC (permalink / raw)
  To: NTG ConTeXt; +Cc: Karst Koymans


[-- Attachment #1.1: Type: text/plain, Size: 877 bytes --]

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 &

<recently read> &



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





[-- Attachment #1.2: Type: text/html, Size: 5809 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

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

* Re: eqalignno failing
  2017-04-26 13:39 eqalignno failing Meer, Hans van der
@ 2017-04-26 14:38 ` Otared Kavian
  0 siblings, 0 replies; 2+ messages in thread
From: Otared Kavian @ 2017-04-26 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <H.vanderMeer@uva.nl> 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 &
> 
> <recently read> &
>  
> 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
___________________________________________________________________________________

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

end of thread, other threads:[~2017-04-26 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-26 13:39 eqalignno failing Meer, Hans van der
2017-04-26 14:38 ` Otared Kavian

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