From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Cross referencing not working?
Date: Tue, 04 Feb 2003 14:17:44 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20030204141614.0341c7b0@server-1> (raw)
In-Reply-To: <D9EA00F4-383F-11D7-BBF6-0003931D13E2@mac.com>
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
-------------------------------------------------------------------------
prev parent reply other threads:[~2003-02-04 13:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-04 12:54 Otared Kavian
2003-02-04 13:17 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20030204141614.0341c7b0@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).