ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Yury G. Kudryashov" <urkud.urkud@gmail.com>
To: ntg-context@ntg.nl
Subject: subformulas end theorems in Mark IV
Date: Tue, 15 Sep 2009 15:11:03 +0400	[thread overview]
Message-ID: <200909151511.03518.urkud.urkud@gmail.com> (raw)

Hello!

I've tried the following example (from wiki):
\starttext
\startsubformulas[eq:1]
\placeformula[eq:first]
\startformula
  c^2 = a^2 + b^2
  \stopformula

  \placeformula[eq:second]
  \startformula
  c^2 = a^2 + b^2
  \stopformula
  \stopsubformulas
  Formula (\in[eq:1]) states
  the Pythagora's Theorem twice,
  once in (\in[eq:first]) and
  again in (\in[eq:second]).
\stoptext

I get "Formula (??) states the Pythagora's Theorem twice, once in (1) and 
again in (2)." In log I see 'unknown reference [][eq:1]'.

I also have label/ref problem with theorems. I define
\defineenumeration[theorem][text=Theorem,location=serried,right=.]
Later I use \starttheorem[thm:bony:random:open] ... \stoptheorem, \in{theorem}
[thm:bony:random:open], and get just 'theorem' instead of 'theorem 1'.
-- 
Yury G. Kudryashov,
mailto: urkud.urkud@gmail.com
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


                 reply	other threads:[~2009-09-15 11:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200909151511.03518.urkud.urkud@gmail.com \
    --to=urkud.urkud@gmail.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).