ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
Date: Sun, 10 Jul 2011 22:55:49 +0200	[thread overview]
Message-ID: <8E20B9A7-CA13-4602-89B4-3D0241403EC1@googlemail.com> (raw)
In-Reply-To: <1310327721.25942.25.camel@mattotaupa>


[-- Attachment #1.1: Type: text/plain, Size: 905 bytes --]


Am 10.07.2011 um 21:55 schrieb Paul Menzel:

> Dear ConTeXt folks,
> 
> 
> using
> 
>        ConTeXt  ver: 2011.06.19 14:17 MKIV  fmt: 2011.6.21  int: english/english
> 
> the following minimal example taken from the Wiki page [1] does not work
> as expected.
> 
> --- 8< --- minimal example --- >8 ---
> \starttext
> The famous result (and again) is given by
> \placeformula[formulalabel]
> \startformula
> c^2 = a^2 + b^2.
> \stopformula
> And now we can refer to formula \ref[formulalabel] (ref).
> And now we can refer to formula \in[formulalabel] (in).
> \stoptext
> --- 8< --- minimal example --- >8 ---
> 
> `\ref` does not seem to find the label for the equation. `\in` does work.
> 
> [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae

The example is wrong, \ref expects two arguments: http://wiki.contextgarden.net/Reference/en/ref

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1394 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

      parent reply	other threads:[~2011-07-10 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 19:55 Paul Menzel
2011-07-10 20:42 ` Paul Menzel
2011-07-10 20:55 ` Wolfgang Schuster [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=8E20B9A7-CA13-4602-89B4-3D0241403EC1@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).