I do not understand why the second equation is numbered \starttext \placeformula \startformula \startalign[n=2] \NC a \NC = b \NR \NC c \NC = d \NR[+] \stopalign \stopformula Some text to separate equations \startformula e = f \stopformula \stoptext I can get rid of the numbering by placing a \placeformula[-] in the begining. But, it should not be numbered by default. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
Aditya Mahajan wrote:
I do not understand why the second equation is numbered
It is a bug. \placeformula turns on formula number processing (\settrue \handleformulanumber), but it never resets it. I guess this could be done right at the end of each formula, like so: \unprotect \def\dostopformula {\doplaceformulanumber \getvalue{\e!stop\formulaparameter\c!alternative\v!formula}% \resetlastlinewidth \nonoindentation \dochecknextindentation{\??fm\currentformula}% \egroup \setfalse\handleformulanumber %TH, new \dorechecknextindentation} \protect Hans, I am not completely sure this is the right place. Please check! Cheers, Taco
\starttext \placeformula \startformula \startalign[n=2] \NC a \NC = b \NR \NC c \NC = d \NR[+] \stopalign \stopformula Some text to separate equations \startformula e = f \stopformula \stoptext
I can get rid of the numbering by placing a \placeformula[-] in the begining. But, it should not be numbered by default.
Taco Hoekwater wrote:
Aditya Mahajan wrote:
I do not understand why the second equation is numbered
It is a bug. \placeformula turns on formula number processing (\settrue \handleformulanumber), but it never resets it.
I guess this could be done right at the end of each formula, like so:
\unprotect \def\dostopformula {\doplaceformulanumber \getvalue{\e!stop\formulaparameter\c!alternative\v!formula}% \resetlastlinewidth \nonoindentation \dochecknextindentation{\??fm\currentformula}% \egroup \setfalse\handleformulanumber %TH, new \dorechecknextindentation} \protect
Hans, I am not completely sure this is the right place. Please check!
looks ok to me; patched Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Taco Hoekwater