Re: [NTG-context] Subformula numbering
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari wrote: > Hi everyone, > > I can't get cases subformula to work properly. My MWE, inspired from the > wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : > > \starttext\placeformula\startformula > \startcases > \NC x = a \NR[+] > \NC y = b \NR[+] > \stopcases\stopformula\stoptext > > This only prints (2) on the right of the whole cases system. If I use > \placesubformula, the behavior remains exactly the same. It also yields > the same output with live ConTeXt. The ConTeXt version I am using is > 2018.01.19 13:42 > > Has there been a change in the behavior since the documents were written ? > I asked on stackexchange, and since the document is 12 years old and the > wiki consistent with it, they suggested me to ask the mailing list. > Thanks in advance, > > \starttext \startbuffer \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR[+] \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer \startbuffer \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR[+] \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer \startbuffer \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer \startbuffer \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer %% your example \placeformula \startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases \stopformula \stoptext What I see is (more or less) 1 \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR[+] \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ ⎨ 7 𝑥=7(1) { ⎩ 4 otherwise \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR[+] \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ 𝑥⎨7 𝑥 = 7 (2) { ⎩ 4 otherwise \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ ⎨ 7 𝑥=7(3) { ⎩ 4 otherwise \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ 𝑥⎨7 𝑥 = 7 (4) { ⎩ 4 otherwise 𝑥=𝑎 { (6) 𝑦=𝑏 -- luigi ___ 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 ___
[NTG-context] Subformula numbering
Hi everyone, I can't get cases subformula to work properly. My MWE, inspired from the wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : \starttext\placeformula\startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases\stopformula\stoptext This only prints (2) on the right of the whole cases system. If I use \placesubformula, the behavior remains exactly the same. It also yields the same output with live ConTeXt. The ConTeXt version I am using is 2018.01.19 13:42 Has there been a change in the behavior since the documents were written ? I asked on stackexchange, and since the document is 12 years old and the wiki consistent with it, they suggested me to ask the mailing list. Thanks in advance, -- Adrien Licari-Guillaume Professeur de Physique-Chimie MPSI et d'informatique IPT MP & PSI Lycée Jean Dautet (La Rochelle) ___ 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 ___
Re: [NTG-context] Subformula numbering problem
I created an overview about what works with the formula numbering and what not - in the hope that Context might be usable for formula-containing academic papers again on time. Unluckily I am not deep enough in Context to fix it by myself. ___ 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] Subformula numbering problem
Am 18.08.2014 um 23:27 schrieb Maggyero : > > No. > > > > Wolfgang > > This used to work, how is it possible that it does not work anymore? The formula code has been rewritten in MkIV and the current implementation resets the subformula setting after the end of the first formula. Wolfgang ___ 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] Subformula numbering problem
> No. > > Wolfgang This used to work, how is it possible that it does not work anymore? \starttext \startsubformulas[eq:equation] \placeformula[eq:first] \startformula c^2 = a^2 + b^2 \stopformula \placeformula[eq:second] \startformula c^2 = a^2 + b^2 \stopformula \stopsubformulas \stoptext ___ 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] Subformula numbering problem
Am 15.08.2014 um 19:32 schrieb Maggyero : > Is there a solution to the problem? No. Wolfgang ___ 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] Subformula numbering problem
Is there a solution to the problem? ___ 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] Subformula numbering problem
The second formula has NO NUMBER (example taken from the ConTeXt Garden's Math/Display page): \starttext \startsubformulas[eq:1] \placeformula[eq:first] \startformula c^2 = a^2 + b^2 \stopformula \placeformula[eq:second] \startformula c^2 = a^2 + b^2 \stopformula \stopsubformulas Formula (\in[eq:1]) states the Pythagora's Theorem twice, once in (\in[eq:first]) and again in (\in[eq:second]). \stoptext ___ 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 ___