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
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
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
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
participants (4)
-
Aditya Mahajan
-
Mojca Miklavec
-
Taco Hoekwater
-
Wim Neimeijer