From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Suppress numbering of non-referenced equations
Date: Tue, 30 Sep 2025 12:51:51 +0200 [thread overview]
Message-ID: <CAHy-LL8ouua1OsCsJ2O-3tOFG-umihAbbTT0T=LYEv2iYkPmcg@mail.gmail.com> (raw)
In-Reply-To: <CAGkZhMBo8mLZ0H3ATOfp3sFKr_rSd_H1ideAxtKPubcfnpwe7g@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1821 bytes --]
Hi,
does
\setupformula
[numberstate=auto]
work for your purpose? You will need the latest release.
/Mikael
PS Something similar for the other question you posted. I think what I
wrote there went into the distribution.
On Tue, Sep 30, 2025 at 12:36 PM ANH DŨNG LÊ <leanhdung1994@gmail.com>
wrote:
> Hello,
>
> I have a tex file
>
> \setupinteraction[state=start,focus=standard]
> \definereferenceformat[eqref][left=(,right=),style=normal,color=blue]
>
> \starttext
>
> With \CONTEXT\ we could write maths. Equations can be referenced. For example, see \eqref[eqn:famous-emc].
>
> \placeformula[eqn:famous-emc]
> \startformula
> E = mc^2
> \stopformula
> with
> \placeformula[eqn:def-m]
> \startformula
> m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
> \stopformula
>
> \stoptext
>
> [image: enter image description here] <https://i.sstatic.net/KnsIF4bG.png>
>
> I would like to turn off the numbering of equations that are not
> referenced. The corresponding option in LaTeX is
> \mathtoolsset{showonlyrefs}. An answer has been provided here
> <https://tex.stackexchange.com/a/751366/161639>. I hope that this
> functionality could be made into an option in the next release of ConTeXt.
>
> Best regards,
>
> Dung
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 8220 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2025-09-30 10:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 10:35 [NTG-context] " ANH DŨNG LÊ
2025-09-30 10:51 ` Mikael Sundqvist [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='CAHy-LL8ouua1OsCsJ2O-3tOFG-umihAbbTT0T=LYEv2iYkPmcg@mail.gmail.com' \
--to=mickep@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).