At 01:54 PM 2/4/2003 +0100, Otared Kavian wrote:
In December Giuseppe Bilotta reported that cross referencing had disappeared.(1) only placed formulas get numbered
Then it came back (at least until two weeks ago...) and again it has somehow disappeared, or it has a weird behavoir (from version:
ConTeXt ver: 2003.1.31 fmt: 2003.2.4 int: english mes: english)
Below is an example: if I put the "formula 1" before "formula 2" nothing gets numbered.
However the other way around "formula 1" gets numbered but not "formula 2", nor "formula 3".
Any comment is welcomed.
Cheers: OK
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
Let us try the cross-reference macros in \ConTeXt: the following should be numbered
% this is formula 2
\placeformula[equation2]
$$ 1 + e^{i \pi} = 0. $$
and
% this is formula 1
\startformula[equation1]
1 + e^{i \pi} = 0.
\stopformula
Equation (\in[equation1]) or (\in[equation2]) establishes an intersting relation between the most important numbers: $1$, $e$, $i := \sqrt{-1}$, $\pi $ and $0$.
However for some unknown reason the \ConTeXt\ commands
\type{\placeformula[equation2]}, \type{\startformula[equation1]} and \type{\in[reference]}
do not work anymore\dots{}
And this also should be numbered:
% this is formula 3
\startformula[equation3]
1 + e^{i \pi} = 0.
\stopformula
\bigskip
Where is the problem?
\stoptext
(2) avoid $$ $$ and use \startformula instead
(3) in \startformula[somehing] the something is not a ref but a class of formulas
so:
\starttext
Let us try the cross-reference macros in \ConTeXt: the
following should be numbered
\placeformula[equation1]
\startformula 1 + e^{i \pi} = 0.\stopformula
and
\placeformula[equation2]
\startformula 1 + e^{i \pi} = 0.\stopformula
Equation (\in[equation1]) or (\in[equation2]) establishes an
intersting relation between the most important numbers: $1$,
$e$, $i := \sqrt{-1}$, $\pi $ and $0$.
However for some unknown reason the \ConTeXt\ commands
\stoptext
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
