Difference between revisions of "User talk:Zenlima"
Line 3: | Line 3: | ||
=Bug: Formula numbering - subnumbers and list of formulas= | =Bug: Formula numbering - subnumbers and list of formulas= | ||
− | + | All following example have following frame: | |
<texcode> | <texcode> | ||
Line 17: | Line 17: | ||
− | == | + | ==What works== |
+ | |||
+ | ==formula== | ||
+ | |||
+ | Expected formular number: (1) | ||
<texcode> | <texcode> | ||
− | \ | + | \placenamedformula[one]{Der einfache Test} |
+ | \startformula | ||
+ | c^2 = a^2 + b^2. | ||
+ | \stopformula | ||
</texcode> | </texcode> | ||
− | + | Result: (1) -> '''Works''' | |
+ | ==align - formular [+]== | ||
− | ==formula== | + | Expected formular numbers: (1) and (2) |
+ | |||
+ | <texcode> | ||
+ | \placeformula | ||
+ | \startformula | ||
+ | \startalign[n=3, align={right,middle,left}] | ||
+ | \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] | ||
+ | \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+] | ||
+ | \stopalign | ||
+ | \stopformula | ||
+ | </texcode> | ||
+ | |||
+ | Result: (1) and (2) -> '''Works''' | ||
+ | |||
+ | ==eqalignno - formula== | ||
− | Expected formular | + | Taken from wiki and removed the subformulanumber. Expected formular numbers: (1), (2), (3) and (4): |
<texcode> | <texcode> | ||
− | \ | + | \placeformula |
\startformula | \startformula | ||
− | c^2 = a^2 + b^2 | + | \eqalignno{ |
+ | c^2 &= a^2 + b^2 &\formulanumber \cr | ||
+ | c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\formulanumber\cr | ||
+ | a^2 + b^2 &= c^2 &\formulanumber \cr | ||
+ | d^2 &= e^2 &\formulanumber \cr} | ||
\stopformula | \stopformula | ||
</texcode> | </texcode> | ||
− | Result: (1) -> '''Works''' | + | Result: (1), (2), (3) and (4) -> '''Works''' |
+ | |||
+ | |||
+ | ==What does not work== | ||
+ | |||
+ | |||
+ | ==List of formulas== | ||
+ | |||
+ | <texcode> | ||
+ | \placelist[formula][criterium=all,alternative=c] | ||
+ | </texcode> | ||
+ | |||
+ | The list of formulas seems to be totally out of order. Strange numbering and missing names. Needs more investigation once some of the named formulas constructions are fixed. | ||
Line 80: | Line 118: | ||
Result: nothing and nothing -> '''Does not work.''' | Result: nothing and nothing -> '''Does not work.''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 128: | Line 151: | ||
Result: (1) and (2) -> '''Does not work.''' | Result: (1) and (2) -> '''Does not work.''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 21:17, 16 December 2012
Hi, I use this page to support my question regarding context and summarize the result. Once a problem is solved I will move that text into the "normal" wiki pages.
Contents
Bug: Formula numbering - subnumbers and list of formulas
All following example have following frame:
\usemodule[newmath] \setupformulas[way=bytext,prefix=no] \setupsubformulas[conversion=romannumerals] \starttext ...(example placed here)... \stoptext
What works
formula
Expected formular number: (1)
\placenamedformula[one]{Der einfache Test} \startformula c^2 = a^2 + b^2. \stopformula
Result: (1) -> Works
align - formular [+]
Expected formular numbers: (1) and (2)
\placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+] \stopalign \stopformula
Result: (1) and (2) -> Works
eqalignno - formula
Taken from wiki and removed the subformulanumber. Expected formular numbers: (1), (2), (3) and (4):
\placeformula \startformula \eqalignno{ c^2 &= a^2 + b^2 &\formulanumber \cr c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\formulanumber\cr a^2 + b^2 &= c^2 &\formulanumber \cr d^2 &= e^2 &\formulanumber \cr} \stopformula
Result: (1), (2), (3) and (4) -> Works
What does not work
List of formulas
\placelist[formula][criterium=all,alternative=c]
The list of formulas seems to be totally out of order. Strange numbering and missing names. Needs more investigation once some of the named formulas constructions are fixed.
subformula
Expected formular numbers: (1a) and (1b)
\startsubformulas[eq:1] \placeformula[eq:first] \startformula PM \xrightarrow R_{PM} \xrightarrow PM \stopformula \placeformula[eq:second] \startformula R_{PM} = \{ K, F, Z, U, I, J\} \stopformula \stopsubformulas
Result: (1a) and nothing -> Does not work.
align - formula
Expected formular numbers: (1a) and (1a) and a reference to formular (1b)
\startsubformulas \startformulas \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[a] \stopalign \stopformula \stopformulas \stopsubformulas
Result: nothing and nothing -> Does not work.
align - subformula
Expected formular numbers: (1.1), (1.2) and (1.c) plus reference on (1.1) and (1.2)
\placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][.1] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][.2] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+][c] \stopalign \stopformula
Result: (1), (2) and (3) -> Does not work.
Expected formular numbers: (1a) and (1b) plus reference on (1a) and (1b)
\placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][] \stopalign \stopformula
Result: (1) and (2) -> Does not work.
eqalignno - subformula
Directly taken form wiki. Expected formular numbers (1), (1a), (1b) and (2):
\placeformula \startformula \eqalignno{ c^2 &= a^2 + b^2 &\formulanumber{a} \cr c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\subformulanumber{b}\cr a^2 + b^2 &= c^2 &\subformulanumber{c} \cr d^2 &= e^2 &\formulanumber\cr} \stopformula
Result: Does not compile Does as the command type{subformularnumber} is unknown -> Does not work.