Re: [NTG-context] equation numbering
Hi Hans, Could you please give an example in which you see the behaviour you are reporting? I tried with mkii and mkiv but could not reproduce what you describe. Best regards: OK On 21 nov. 2011, at 21:39, Meer, H. van der wrote: ConTeXt still has some mysteries for me ;-) This time it is the equationnumbering. Doing \placeformula\startformula..\stopformula gives the equation a certain number, lets say (1.5). Now I change the call to \placeformula[equ:thisfml]\startformula..\stopformula and the number changes to (1.6). Why is this? What I have in mind is to number all formula consecutively with (chapternumber.1), chapternumber.2) etc. Regardless whether I want to reference some of the equations later on and some can stay without a reference because that is not needed. Nevertheless, the ascending numbering pleases me. Hans van der Meer ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] equation numbering
ConTeXt still has some mysteries for me ;-) This time it is the equationnumbering. Doing \placeformula\startformula..\stopformula gives the equation a certain number, lets say (1.5). Now I change the call to \placeformula[equ:thisfml]\startformula..\stopformula and the number changes to (1.6). Why is this? What I have in mind is to number all formula consecutively with (chapternumber.1), chapternumber.2) etc. Regardless whether I want to reference some of the equations later on and some can stay without a reference because that is not needed. Nevertheless, the ascending numbering pleases me. Hans van der Meer ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] equation numbering: subfurmulas
I took the following document as a source: http://wiki.contextgarden.net/images/b/b4/Mathalign.pdf (Btw: Aditya, why isn't the latest version also on http://dl.contextgarden.net/myway/mathalign.pdf?) Section 4.2 says one thing and does the other ... I want to have my equations numbered as a_1 = (1,0,0)(1a) a_2 = (0,1,0)(1b) a_3 = (0,0,1)(1c) and then reference them as equation (1). The example from Aditya's document says the following: \placesubformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[+][a] \NC a_2 x + b_2 y \NC = c_2 \NR[+][b] \stopalign \stopformula But if I try that in MKII, I get (0a) and (0b), while if I try that in MKIV, I get (1) and (2). How do I get (1a) and (1b) with both MKII and MKIV? Mojca (I'm asking about MKII since I have a completely different problem with every new MKIV version released and I really need to finish that document even if MKIV crashes or a nuclear war starts ... :) :) :) ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] equation numbering: subfurmulas
On Wed, Dec 8, 2010 at 10:12, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: I took the following document as a source: http://wiki.contextgarden.net/images/b/b4/Mathalign.pdf (Btw: Aditya, why isn't the latest version also on http://dl.contextgarden.net/myway/mathalign.pdf?) Section 4.2 says one thing and does the other ... Indeed. I just downloaded the 30 May 2010 version of Mathalign.pdf from the link you provided and visual inspection of the section 4.2 reveals no subformula equation labels in the examples. All tags are numbered from (10) to (28) and non is in the form of (1a). It seems that subformulas did not work for the author either. --Leo-- ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Equation Numbering bug?
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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Equation Numbering bug?
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. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Equation Numbering bug?
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 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context