* Cross referencing not working?
@ 2003-02-04 12:54 Otared Kavian
2003-02-04 13:17 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2003-02-04 12:54 UTC (permalink / raw)
In December Giuseppe Bilotta reported that cross referencing had
disappeared.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cross referencing not working?
2003-02-04 12:54 Cross referencing not working? Otared Kavian
@ 2003-02-04 13:17 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-02-04 13:17 UTC (permalink / raw)
At 01:54 PM 2/4/2003 +0100, Otared Kavian wrote:
>In December Giuseppe Bilotta reported that cross referencing had disappeared.
>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
(1) only placed formulas get numbered
(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 | pragma@wxs.nl
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-04 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-04 12:54 Cross referencing not working? Otared Kavian
2003-02-04 13:17 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).