ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
@ 2011-07-10 19:55 Paul Menzel
  2011-07-10 20:42 ` Paul Menzel
  2011-07-10 20:55 ` Wolfgang Schuster
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Menzel @ 2011-07-10 19:55 UTC (permalink / raw)
  To: ntg-context


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

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.


Thanks,

Paul


[1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
  2011-07-10 19:55 math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19) Paul Menzel
@ 2011-07-10 20:42 ` Paul Menzel
  2011-07-10 20:55 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Menzel @ 2011-07-10 20:42 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 866 bytes --]

Dear ConTeXt folks,


Am Sonntag, den 10.07.2011, 21:55 +0200 schrieb Paul Menzel:

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

I forgot to attach the example files.


Thanks,

Paul


> [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae

[-- Attachment #1.1.2: ref.pdf --]
[-- Type: application/pdf, Size: 14922 bytes --]

[-- Attachment #1.1.3: ref.tex --]
[-- Type: text/x-tex, Size: 258 bytes --]

\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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
  2011-07-10 19:55 math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19) Paul Menzel
  2011-07-10 20:42 ` Paul Menzel
@ 2011-07-10 20:55 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2011-07-10 20:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-10 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-10 19:55 math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19) Paul Menzel
2011-07-10 20:42 ` Paul Menzel
2011-07-10 20:55 ` Wolfgang Schuster

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).