Hi list,

How can I get a numbered equation when using cases in MkIV? The "hack"
proposed by Aditya in [1] doesn't work as it uses macros that no
longer exist (\makesesctionnumber and others). The reference doesn't
even get recorded. I precise that I don't want (well, don't need) the
sub numbering per-line, just a regular number would do.

Minimal example:

\starttext

My equation \in[eq:equation] and my other equation \in[eq:other-equation].

\placeformula[eq:equation]
\startformula
  E = mc^2
\stopformula

\placeformula[eq:equation]
\startformula
  \startcases
    \NC E = mc^2 \NC some text\NR
    \NC E = mc^2 \NC some more text\NR
  \stopcases
\stopformula

\stoptext


Thanks.


[1] http://dl.contextgarden.net/myway/mathalign.pdf

-- Cédric
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to