* Problems with "mathalign"
@ 2007-01-03 17:31 Mojca Miklavec
2007-01-03 19:18 ` Aditya Mahajan
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2007-01-03 17:31 UTC (permalink / raw)
Hello,
I wanted to keep Aditya busy now that he finished his wonderful new
module ;), so ...
I first wanted to ask how to number subformulas in a certain way, but
that I figured out that numbering is already causing some problems on
its own.
Consider the following examples:
\starttext
This is almost OK, but has one formula number too much here:
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
a & =b
& A & =B \\
c & =d
& C & =D \\
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
This results in a very weird formula numbering
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
\NC a \NC =b
\NC A \NC =B \NR
\NC c \NC =d
\NC C \NC =D \NR
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
Adding [+] helps, but than we have the same problem as at the beginning:
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
\NC a \NC =b
\NC A \NC =B \NR[+]
\NC c \NC =d
\NC C \NC =D \NR[+]
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
Without placeforumla, but with [+] we don't get any numbering at all:
\startbuffer
\startformula
\startalign[m=2,distance=3cm]
\NC a \NC =b
\NC A \NC =B \NR[+]
\NC c \NC =d
\NC C \NC =D \NR[+]
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
\stoptext
CtxTools | context version: 2006.12.27 11:34
(After running "ctxtools --update" I just managed to break everything.)
Any clue?
Thanks,
Mojca
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with "mathalign"
2007-01-03 17:31 Problems with "mathalign" Mojca Miklavec
@ 2007-01-03 19:18 ` Aditya Mahajan
2007-01-03 20:15 ` Taco Hoekwater
2007-02-19 21:24 ` Wim Neimeijer
0 siblings, 2 replies; 5+ messages in thread
From: Aditya Mahajan @ 2007-01-03 19:18 UTC (permalink / raw)
On Wed, 3 Jan 2007, Mojca Miklavec wrote:
> Hello,
>
> I wanted to keep Aditya busy now that he finished his wonderful new
> module ;), so ...
>
>
> I first wanted to ask how to number subformulas in a certain way, but
> that I figured out that numbering is already causing some problems on
> its own.
>
>
> Consider the following examples:
>
> \starttext
>
> This is almost OK, but has one formula number too much here:
>
> \startbuffer
> \placeformula
> \startformula
> \startalign[m=2,distance=3cm]
> a & =b
> & A & =B \\
> c & =d
> & C & =D \\
> \stopalign
> \stopformula
> \stopbuffer
> \typebuffer
> \getbuffer
Do not use the latex syntax.
> This results in a very weird formula numbering
Something is broken. AFAIK, this should not give you any number.
> \startbuffer
> \placeformula
> \startformula
> \startalign[m=2,distance=3cm]
> \NC a \NC =b
> \NC A \NC =B \NR
> \NC c \NC =d
> \NC C \NC =D \NR
> \stopalign
> \stopformula
> \stopbuffer
> \typebuffer
> \getbuffer
>
> Adding [+] helps, but than we have the same problem as at the beginning:
Adding [+] is necessary.
> \startbuffer
> \placeformula
> \startformula
> \startalign[m=2,distance=3cm]
> \NC a \NC =b
> \NC A \NC =B \NR[+]
> \NC c \NC =d
> \NC C \NC =D \NR[+]
> \stopalign
> \stopformula
> \stopbuffer
> \typebuffer
> \getbuffer
I can confirm that there is an extra number. I do not know what is
causing this. I am not aware of anything in core-mat has changed.
I compiled My Way on mathalign, and everything has an extra number.
hmm...
> Without placeforumla, but with [+] we don't get any numbering at all:
Yes you need the placefurmula.
>
> \startbuffer
> \startformula
> \startalign[m=2,distance=3cm]
> \NC a \NC =b
> \NC A \NC =B \NR[+]
> \NC c \NC =d
> \NC C \NC =D \NR[+]
> \stopalign
> \stopformula
> \stopbuffer
> \typebuffer
> \getbuffer
>
> \stoptext
>
> CtxTools | context version: 2006.12.27 11:34
> (After running "ctxtools --update" I just managed to break everything.)
>
> Any clue?
Something is broken.
Aditya
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with "mathalign"
2007-01-03 19:18 ` Aditya Mahajan
@ 2007-01-03 20:15 ` Taco Hoekwater
2007-02-19 21:24 ` Wim Neimeijer
1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2007-01-03 20:15 UTC (permalink / raw)
Aditya Mahajan wrote:
>
>
> I can confirm that there is an extra number. I do not know what is
> causing this. I am not aware of anything in core-mat has changed.
There is that extra stuff in \everymathematics. Could that be it?
Taco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with "mathalign"
2007-01-03 19:18 ` Aditya Mahajan
2007-01-03 20:15 ` Taco Hoekwater
@ 2007-02-19 21:24 ` Wim Neimeijer
2007-02-20 0:53 ` Aditya Mahajan
1 sibling, 1 reply; 5+ messages in thread
From: Wim Neimeijer @ 2007-02-19 21:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1020 bytes --]
Aditya Mahajan wrote:
>> \startbuffer
>> \placeformula
>> \startformula
>> \startalign[m=2,distance=3cm]
>> \NC a \NC =b
>> \NC A \NC =B \NR[+]
>> \NC c \NC =d
>> \NC C \NC =D \NR[+]
>> \stopalign
>> \stopformula
>> \stopbuffer
>> \typebuffer
>> \getbuffer
>>
>
> I can confirm that there is an extra number. I do not know what is
> causing this. I am not aware of anything in core-mat has changed.
>
> I compiled My Way on mathalign, and everything has an extra number.
> hmm...
>
Does a solution or fix exists for this problem ?
The problem still exists in ConTeXt ver: 2007.01.02 13:44 MK II fmt:
2007.2.3 int: english/english.
I don't want to complain but in general this is really worrying, changes
to core functionality
which worked in the past, it seems it suddenly stops working.
I saw Taco made a comment on the 3nd of January 2007 , quoting
''There is that extra stuff in \everymathematics. Could that be it?''
but unfortunately he did not provide a solution.
Regards
Wim Neimeijer
[-- Attachment #1.2: Type: text/html, Size: 1541 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with "mathalign"
2007-02-19 21:24 ` Wim Neimeijer
@ 2007-02-20 0:53 ` Aditya Mahajan
0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2007-02-20 0:53 UTC (permalink / raw)
To: Wim Neimeijer; +Cc: mailing list for ConTeXt users
On Mon, 19 Feb 2007, Wim Neimeijer wrote:
> Aditya Mahajan wrote:
>>> \startbuffer
>>> \placeformula
>>> \startformula
>>> \startalign[m=2,distance=3cm]
>>> \NC a \NC =b
>>> \NC A \NC =B \NR[+]
>>> \NC c \NC =d
>>> \NC C \NC =D \NR[+]
>>> \stopalign
>>> \stopformula
>>> \stopbuffer
>>> \typebuffer
>>> \getbuffer
>>>
>>
>> I can confirm that there is an extra number. I do not know what is causing
>> this. I am not aware of anything in core-mat has changed.
>>
>> I compiled My Way on mathalign, and everything has an extra number. hmm...
>>
> Does a solution or fix exists for this problem ?
> The problem still exists in ConTeXt ver: 2007.01.02 13:44 MK II fmt:
> 2007.2.3 int: english/english.
It was fixed immediately. Update ConTeXt to either the latest stable
version or the latest beta version.
> I don't want to complain but in general this is really worrying, changes to
> core functionality
> which worked in the past, it seems it suddenly stops working.
There is a ConTeXt tests projects to provide regression testing.
However, it will take some time before it can be automated. Also, if
something in the core functionality breaks down, and is reported on
the list, Hans or Taco provide the solution almost immediately (well,
at most in a day or two). So, if there is a new ConTeXt beta after you
report a bug, the beta will contain a fix.
> I saw Taco made a comment on the 3nd of January 2007 , quoting
> ''There is that extra stuff in \everymathematics. Could that be it?''
> but unfortunately he did not provide a solution.
Taco continued on the dev-context list and provided the solution. See
http://archive.contextgarden.net/thread/20070105.080939.8ef11c87.en.html
Aditya
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-20 0:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-03 17:31 Problems with "mathalign" Mojca Miklavec
2007-01-03 19:18 ` Aditya Mahajan
2007-01-03 20:15 ` Taco Hoekwater
2007-02-19 21:24 ` Wim Neimeijer
2007-02-20 0:53 ` Aditya Mahajan
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).