ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Numbering in mathalignment not working
@ 2022-05-19  8:34 śrīrāma via ntg-context
  2022-05-19 16:24 ` Luis Montgomery via ntg-context
  2022-05-22  5:14 ` śrīrāma via ntg-context
  0 siblings, 2 replies; 5+ messages in thread
From: śrīrāma via ntg-context @ 2022-05-19  8:34 UTC (permalink / raw)
  To: ntg-context; +Cc: śrīrāma

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Hi,

[I am on version 2022.05.11 11:36]

I think either a bug might have crept into one of the recent uploads or there 
is some change in behaviour – numbering of statements inside mathalignment 
blocks is not working: only one statement is numbered even if multiple are 
requested.

The following example does not produce the expected result (sample attached): 
both the equations should be numbered when only the first one is – 

  \starttext

  \placeformula
  \startformula
    \startmathalignment
      \NC a \NC = b \NR[eq:one]
      \NC c \NC = d \NR[eq:two]
    \stopmathalignment
  \stopformula

  \stoptext

Also the [+] options and the second optional argument of \NR does not work as 
expected. Has its behaviour changed?

I ran into this when I compiled a large maths-heavy document and while proof-
reading noticed numerous missing references to statements inside 
mathalignment. Please advise me on how I might fix/workaround this.

Thank you,
  Sreeram

[-- Attachment #2: align-numbering.pdf --]
[-- Type: application/pdf, Size: 5445 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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] 5+ messages in thread

* Re: Numbering in mathalignment not working
  2022-05-19  8:34 Numbering in mathalignment not working śrīrāma via ntg-context
@ 2022-05-19 16:24 ` Luis Montgomery via ntg-context
  2022-05-22  5:14 ` śrīrāma via ntg-context
  1 sibling, 0 replies; 5+ messages in thread
From: Luis Montgomery via ntg-context @ 2022-05-19 16:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Luis Montgomery


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

It's true. In the version that comes with TeXlive 2021 (2021.03.05)
this numbering works fine, but not with the 2022.05.11.

L. Montgomery


El jue, 19 may 2022 a las 3:34, śrīrāma via ntg-context (<ntg-context@ntg.nl>)
escribió:

> Hi,
>
> [I am on version 2022.05.11 11:36]
>
> I think either a bug might have crept into one of the recent uploads or
> there
> is some change in behaviour – numbering of statements inside mathalignment
> blocks is not working: only one statement is numbered even if multiple are
> requested.
>
> The following example does not produce the expected result (sample
> attached):
> both the equations should be numbered when only the first one is –
>
>   \starttext
>
>   \placeformula
>   \startformula
>     \startmathalignment
>       \NC a \NC = b \NR[eq:one]
>       \NC c \NC = d \NR[eq:two]
>     \stopmathalignment
>   \stopformula
>
>   \stoptext
>
> Also the [+] options and the second optional argument of \NR does not work
> as
> expected. Has its behaviour changed?
>
> I ran into this when I compiled a large maths-heavy document and while
> proof-
> reading noticed numerous missing references to statements inside
> mathalignment. Please advise me on how I might fix/workaround this.
>
> Thank you,
>
> Sreeram___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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] 5+ messages in thread

* Re: Numbering in mathalignment not working
  2022-05-19  8:34 Numbering in mathalignment not working śrīrāma via ntg-context
  2022-05-19 16:24 ` Luis Montgomery via ntg-context
@ 2022-05-22  5:14 ` śrīrāma via ntg-context
  2022-05-25  3:34   ` Luis Montgomery via ntg-context
  1 sibling, 1 reply; 5+ messages in thread
From: śrīrāma via ntg-context @ 2022-05-22  5:14 UTC (permalink / raw)
  To: ntg-context; +Cc: śrīrāma

On 5/19/22 2:04 PM śrīrāma wrote:
> Hi,
> 
> [I am on version 2022.05.11 11:36]
> 
> I think either a bug might have crept into one of the recent uploads or     
> there is some change in behaviour – numbering of statements inside          
> mathalignment blocks is not working: only one statement is numbered even if 
> multiple are requested.
> 
> The following example does not produce the expected result
> both the equations should be numbered when only the first one is –
> 
>   \starttext
> 
>   \placeformula
>   \startformula
>     \startmathalignment
>       \NC a \NC = b \NR[eq:one]
>       \NC c \NC = d \NR[eq:two]
>     \stopmathalignment
>   \stopformula
> 
>   \stoptext
> 
> Also the [+] options and the second optional argument of \NR does not work  
> as expected. Has its behaviour changed?
> [...]

Hi,

Sorry to bother you all during a weekend but I am wondering if anyone has any 
workaround for the issue  I have asked about above: while updating LMTX I 
unwittingly replaced my previous version without retaining a copy. Now I am 
stuck with documents without equation numbers.

As stated above the following MWE demonstrates the issue: only the first 
equation is numbered (while both should be)

  \placeformula
  \startformula
    \startmathalignment
      \NC a \NC = b \NR[eq:one]
      \NC c \NC = d \NR[eq:two]
    \stopmathalignment
  \stopformula
I tried to look into math-ini and math-ali but to no avail.

Thanks,
  Sreeram

  Sreeram


___________________________________________________________________________________
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] 5+ messages in thread

* Re: Numbering in mathalignment not working
  2022-05-22  5:14 ` śrīrāma via ntg-context
@ 2022-05-25  3:34   ` Luis Montgomery via ntg-context
  2022-05-25  4:38     ` Mikael Sundqvist via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Luis Montgomery via ntg-context @ 2022-05-25  3:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Luis Montgomery


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

Same issue with

\placeformula
\startformula
\startalign[number=auto]
\NC A_1 x + B_1 y + C_1\NC = 0 \NR[+]
\NC A_2 x + B_2 y + C_2\NC = 0 \NR[+]
\stopalign
\stopformula


and with all the wiki examples on \startmathalignment (
https://wiki.contextgarden.net/Command/_startmathalignment).

L. Montgomery

El dom, 22 may 2022 a las 0:14, śrīrāma via ntg-context (<ntg-context@ntg.nl>)
escribió:

> On 5/19/22 2:04 PM śrīrāma wrote:
> > Hi,
> >
> > [I am on version 2022.05.11 11:36]
> >
> > I think either a bug might have crept into one of the recent uploads or
>
> > there is some change in behaviour – numbering of statements inside
>
> > mathalignment blocks is not working: only one statement is numbered even
> if
> > multiple are requested.
> >
> > The following example does not produce the expected result
> > both the equations should be numbered when only the first one is –
> >
> >   \starttext
> >
> >   \placeformula
> >   \startformula
> >     \startmathalignment
> >       \NC a \NC = b \NR[eq:one]
> >       \NC c \NC = d \NR[eq:two]
> >     \stopmathalignment
> >   \stopformula
> >
> >   \stoptext
> >
> > Also the [+] options and the second optional argument of \NR does not
> work
> > as expected. Has its behaviour changed?
> > [...]
>
> Hi,
>
> Sorry to bother you all during a weekend but I am wondering if anyone has
> any
> workaround for the issue  I have asked about above: while updating LMTX I
> unwittingly replaced my previous version without retaining a copy. Now I
> am
> stuck with documents without equation numbers.
>
> As stated above the following MWE demonstrates the issue: only the first
> equation is numbered (while both should be)
>
>   \placeformula
>   \startformula
>     \startmathalignment
>       \NC a \NC = b \NR[eq:one]
>       \NC c \NC = d \NR[eq:two]
>     \stopmathalignment
>   \stopformula
> I tried to look into math-ini and math-ali but to no avail.
>
> Thanks,
>   Sreeram
>
>   Sreeram
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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] 5+ messages in thread

* Re: Numbering in mathalignment not working
  2022-05-25  3:34   ` Luis Montgomery via ntg-context
@ 2022-05-25  4:38     ` Mikael Sundqvist via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Mikael Sundqvist via ntg-context @ 2022-05-25  4:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist

On Wed, May 25, 2022 at 5:35 AM Luis Montgomery via ntg-context
<ntg-context@ntg.nl> wrote:
>
> Same issue with
>
> \placeformula
> \startformula
> \startalign[number=auto]
> \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+]
> \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+]
> \stopalign
> \stopformula
>
>
> and with all the wiki examples on \startmathalignment (https://wiki.contextgarden.net/Command/_startmathalignment).
>
> L. Montgomery
>
> El dom, 22 may 2022 a las 0:14, śrīrāma via ntg-context (<ntg-context@ntg.nl>) escribió:
>>
>> On 5/19/22 2:04 PM śrīrāma wrote:
>> > Hi,
>> >
>> > [I am on version 2022.05.11 11:36]
>> >
>> > I think either a bug might have crept into one of the recent uploads or
>> > there is some change in behaviour – numbering of statements inside
>> > mathalignment blocks is not working: only one statement is numbered even if
>> > multiple are requested.
>> >
>> > The following example does not produce the expected result
>> > both the equations should be numbered when only the first one is –
>> >
>> >   \starttext
>> >
>> >   \placeformula
>> >   \startformula
>> >     \startmathalignment
>> >       \NC a \NC = b \NR[eq:one]
>> >       \NC c \NC = d \NR[eq:two]
>> >     \stopmathalignment
>> >   \stopformula
>> >
>> >   \stoptext
>> >
>> > Also the [+] options and the second optional argument of \NR does not work
>> > as expected. Has its behaviour changed?
>> > [...]
>>
>> Hi,
>>
>> Sorry to bother you all during a weekend but I am wondering if anyone has any
>> workaround for the issue  I have asked about above: while updating LMTX I
>> unwittingly replaced my previous version without retaining a copy. Now I am
>> stuck with documents without equation numbers.
>>
>> As stated above the following MWE demonstrates the issue: only the first
>> equation is numbered (while both should be)
>>
>>   \placeformula
>>   \startformula
>>     \startmathalignment
>>       \NC a \NC = b \NR[eq:one]
>>       \NC c \NC = d \NR[eq:two]
>>     \stopmathalignment
>>   \stopformula
>> I tried to look into math-ini and math-ali but to no avail.
>>
>> Thanks,
>>   Sreeram
>>
>>   Sreeram
>>

It has been fixed, but we have to wait for the next upload.

/Mikael
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2022-05-25  4:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19  8:34 Numbering in mathalignment not working śrīrāma via ntg-context
2022-05-19 16:24 ` Luis Montgomery via ntg-context
2022-05-22  5:14 ` śrīrāma via ntg-context
2022-05-25  3:34   ` Luis Montgomery via ntg-context
2022-05-25  4:38     ` Mikael Sundqvist via ntg-context

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