ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Referencing formulas doesn't work?
@ 2020-02-09 21:58 Jon Wong
  2020-02-09 22:05 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Wong @ 2020-02-09 21:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

MWE:

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

\stoptext

There is a blank where the formula label should be at “now we can refer to formula ---“.

Regards
Jon
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Referencing formulas doesn't work?
  2020-02-09 21:58 Referencing formulas doesn't work? Jon Wong
@ 2020-02-09 22:05 ` Wolfgang Schuster
  2020-02-09 22:39   ` Exp
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-02-09 22:05 UTC (permalink / raw)
  To: ntg-context

On Mon, 10 Feb 2020 05:58:50 +0800
Jon Wong <jhannwong@gmail.com> wrote:

> MWE:
> 
> \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].
> 
> \stoptext
> 
> There is a blank where the formula label should be at “now we can refer to formula ---“.

Use \ref[number][formulalabel] or \in[formulalabel].

Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Referencing formulas doesn't work?
  2020-02-09 22:05 ` Wolfgang Schuster
@ 2020-02-09 22:39   ` Exp
  0 siblings, 0 replies; 3+ messages in thread
From: Exp @ 2020-02-09 22:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Please allow me to ask in this thread something slightly off-topic:
why doesn't ConTeXt give a compilation error or alike when
encountering such kind of mistakes? Is it technically difficult, or
is it conventional for *TeX processors to be over tolerant?

On Sun, Feb 9, 2020 at 11:05 PM Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com> wrote:

> On Mon, 10 Feb 2020 05:58:50 +0800
> Jon Wong <jhannwong@gmail.com> wrote:
>
> > MWE:
> >
> > \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].
> >
> > \stoptext
> >
> > There is a blank where the formula label should be at “now we can refer
> to formula ---“.
>
> Use \ref[number][formulalabel] or \in[formulalabel].
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-02-09 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 21:58 Referencing formulas doesn't work? Jon Wong
2020-02-09 22:05 ` Wolfgang Schuster
2020-02-09 22:39   ` Exp

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