* Re: eqalignno failin
@ 2017-04-27 12:21 Meer, Hans van der
0 siblings, 0 replies; only message in thread
From: Meer, Hans van der @ 2017-04-27 12:21 UTC (permalink / raw)
To: NTG ConTeXt; +Cc: Karst Koymans
[-- Attachment #1.1.1: Type: text/plain, Size: 2225 bytes --]
I had this code:
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
On 26 Apr 2017, at 16:38, Otared Kavian <otared@gmail.com<mailto:otared@gmail.com>> wrote:
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
Below I illustrate why this is not better, and I did not find a way how to remedy its effect.
This is the original produced by the \eqalignno. See the active links to previous equations in green, produced by my \ineq-macro.
The equation numbers here are from the 7th chapter, in the latter (shortened) examples the chapter number will be 1.
[cid:6BEAFFEE-7FE7-4CE4-AD45-DB0341A2EA25]
The suggested code gives:
[cid:CEBB66EC-83A5-4A10-A7E3-729FBBB24BD9]
Wrong because the numbers should refer to equations 1.21 and 1.28 instead of numbering forward.
Putting my \ineq-macro there
\NC W(I,J) \NC H(J) - H(J|I)\NR\hbox{\ineq[eq:wedinfo]}
gives an equally unacceptable result:
[cid:ACE1072E-59D0-4310-8FC5-4E9E1FF3485C]
On 26 Apr 2017, at 16:38, Otared Kavian <otared@gmail.com<mailto:otared@gmail.com>> also wrote:
Hi Hans,
Since a few weeks (or months?…) ago the use of \eqno and \eqalignno has been changed in mkiv.
A remark afterwards I really regret making. But I cannot understand why \eqalignno and friends have been changed from their original behaviour. It breaks older products of mine without warning. In fact I wouldn't have spotted this, had not a colleague drawn my attention to it. Is this the only math macro behaving differently, giving a TeX error? Are there others?
I cannot but ask most strongly not to let mkiv deviate in this manner from basic TeX's behaviour. I am doing a lot in ConTeXt but I mix it with parts of basic TeX. When I can no longer trust TeX doing like TeX I really don't know how to go further. Please return the original behaviour.
Thanks for looking into it.
Hans van der Meer
[-- Attachment #1.1.2: Type: text/html, Size: 4832 bytes --]
[-- Attachment #1.2: original.jpg --]
[-- Type: image/jpeg, Size: 10340 bytes --]
[-- Attachment #1.3: suggested.jpg --]
[-- Type: image/jpeg, Size: 8243 bytes --]
[-- Attachment #1.4: badresult.jpg --]
[-- Type: image/jpeg, Size: 10192 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] only message in thread
only message in thread, other threads:[~2017-04-27 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-27 12:21 eqalignno failin Meer, Hans van der
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).