[NTG-context] How to reset numbers of formulas?

2011-11-17 Thread Otared Kavian
Hi,

Is it possible to reset the numbers which appear after invoking \placeformula?

To be more precise, I mean the following situation:

\starttext

Euler says
\placeformula
\startformula
{\rm e}^{{\rm i} \pi} + 1 = 0.
\stopformula
The above formula will have number (1). Euler's formula is the same as the 
following
\placeformula
\startformula
{\rm e}^{{\rm i} \pi} = - 1.
\stopformula
The above formula will have number (2), but for some reasons I wish to number 
it again as (1).
\stoptext

I would like to have a solution which works with ConTeXt mkiv.

Thanks for any advice, and best regards: OK




___
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] How to reset numbers of formulas?

2011-11-17 Thread Otared Kavian
Many thanks, Christian: that's the way…
I added a note in the wiki:
http://wiki.contextgarden.net/Reference/en/placeformula

Best regards: OK
On 17 nov. 2011, at 14:48, Christian wrote:

 Is it possible to reset the numbers which appear after invoking
 \placeformula?
 
 To be more precise, I mean the following situation:
 
 \starttext
 
 Euler says
  \placeformula
  \startformula
  {\rm e}^{{\rm i} \pi} + 1 = 0.
  \stopformula
 The above formula will have number (1). Euler's formula is the same as the
 following
  \placeformula
  \startformula
  {\rm e}^{{\rm i} \pi} = - 1.
  \stopformula
 The above formula will have number (2), but for some reasons I wish to
 number it again as (1).
 \stoptext
 
 I would like to have a solution which works with ConTeXt mkiv.
 
 Thanks for any advice, and best regards: OK
 
 \resetnumber[formula]
 or
 \setnumber[formula]{insert number}
 
 ___
 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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




___
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
___