From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,URIBL_DBL_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=no autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B0CC5243DE for ; Tue, 30 Sep 2025 12:58:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B6347486DDF for ; Tue, 30 Sep 2025 12:55:40 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavis); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:message-id:date:date:from :from:in-reply-to:references:mime-version:received:received :received:received:received:received; s=cgl; t=1759229739; x= 1761821740; bh=auDr56fSsikvj4G5RnD6/H697yfPruFcrBhqly/JWqs=; b=S EpS05KEU0lV0u5V+44vD5VdSyT7/i7H7Z4SR+zB4tY2UHRsrRXL506CsE/q0joht OVpP9AyDAqtAaBrESXn7aQnXzEr7LVK9+GrcyFLIi70cFJ3X/LmGg0AKY8b/bIeX VD94oRAEoHsthOnyXkDyU3/vmRuUPs1a5nSKQbqKFs= X-Virus-Scanned: Debian amavis at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavis); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id Z80qNvtLSV5Z for ; Tue, 30 Sep 2025 12:55:39 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 89814486F2A for ; Tue, 30 Sep 2025 12:54:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id CDE97486CE4 for ; Tue, 30 Sep 2025 12:53:54 +0200 (CEST) X-Virus-Scanned: Debian amavis at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id mO131jh_Div3 for ; Tue, 30 Sep 2025 12:53:53 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.125.224.42; helo=mail-yx1-f42.google.com; envelope-from=mickep@gmail.com; receiver=ntg.nl Received: from mail-yx1-f42.google.com (mail-yx1-f42.google.com [74.125.224.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 5AA09486D72 for ; Tue, 30 Sep 2025 12:52:20 +0200 (CEST) Received: by mail-yx1-f42.google.com with SMTP id 956f58d0204a3-63604582e53so5995142d50.3 for ; Tue, 30 Sep 2025 03:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759229538; x=1759834338; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tNNm5VVsGkJf4TYeGzq5qRgrkqnLKdve1QD2AuL07zo=; b=deAR4vK5jfZ0ykMBEcCM+7x6DEfJalL7VSzJwNsMO2/4vTGJ10EVQIqb2xBqxsXJkg MLgxJa4TN6XburHDESC/fBNyrV6OXSh+RAk1Hy2LjELP4rw4MWDxRCWHPF3qgILYj4mm W4W7Oz1ezaV6FGQcoTIxf7plcnEwrXE+anvIWduRFxh7TaCE/LLC14uHyUEi0Ve9wRhK 7weGEhye0Fll5oD5o7VRgRpvy74HuHqiVpahqdQzlGa1+/Vwg1OG6pnLF3YWy1ZS8TyY f7cTNAS+h/xfU/VDxsQGUArTn/b63L+a+7BA8twCpYEGbEoMGE2X4L/PE/cfTSa3Pxz7 VKRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759229538; x=1759834338; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tNNm5VVsGkJf4TYeGzq5qRgrkqnLKdve1QD2AuL07zo=; b=VgA5CmL9l1mpp7qZ2VONJEvPNZgJmipkaNdgfE2jrrdrVaUUlqm2WlQXfAaHjxF20n AioTtQW/lzCGW3eJbNO7fH44e6WgFRQGVkQOGNYnydnN44pDJcpAA6KTP1XRJYQGRwsy FB2Yjz/Dkl1C57LvTWeJzE95+OdXfnpvR+fnvFVZtNzu4iE9Qcy2ZiPNVF3PBBuuAQF+ dKdXtG0uy2vec4Zv2RgsxjlrjgkPbd/hSMuET3/CExtYdqXdMXYg3gcVEr0WZbOzA+Gy 3Vtj2HkuAk0Mzo0SVTFCYTIcD2vx/MERweDd5DVGW/nYAwTwNXdCSUu/9UvIUGKCf68j g6Nw== X-Gm-Message-State: AOJu0YzLY1mKbeobZ2uFU/RDVUNL0Rk9JhCxKqrnVevfug4l9Di1mF0q KUA3uPBtKijLjLinXP2ZWWlJV+rxttdkuc1Qmp50NtbUSo3Fya+0/YGO/a2/exg14I1kk8YnKZa X4OK/phKRzdjEWTccnNbZlh+xksk8rDmZdxDm X-Gm-Gg: ASbGncsK4NFwpKYYbX5GO+uz3CqwZoN8aX/KYfdS5vqjqyH+8DykjPAzTDBuPuKwmmv Xch7W+Od+sGoNcNRbLhcR0FkphuEfM0jWDUMKba6MSbuvpovW2EjaBYsGLUspnywubzhimZKFuo dTLKGZ6kWaBQtdFwgjr0r66ANghT17rw6sduZ7bxJlnK2J7Vx0Ls/YWhBUZrPwncobJM20KdsQH 5ACCA9P2+bdeB3uLouIkWjDnaB6/iH8F1tRhqWEQQ== X-Google-Smtp-Source: AGHT+IFdeJsbHSWkWJmxFzN74f1rrQMZhqRNHTCDmzqLUmGT6NVxi0LV9OjsZKkwNkzUIKYbaS4EjQlielTOhKa+CK4= X-Received: by 2002:a05:690e:165c:b0:636:d3c3:67de with SMTP id 956f58d0204a3-636d3c36f60mr13698860d50.34.1759229537937; Tue, 30 Sep 2025 03:52:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mikael Sundqvist Date: Tue, 30 Sep 2025 12:51:51 +0200 X-Gm-Features: AS18NWDUHGDREn7q6InAw7LUfn5D1cfYgr5kZGmUllJj6a6DFrutXc8TE0ZH_Fs Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: 3PK3BR274Q6B6RMJ7TJHWUVOVU7N6OWR X-Message-ID-Hash: 3PK3BR274Q6B6RMJ7TJHWUVOVU7N6OWR X-MailFrom: mickep@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Suppress numbering of non-referenced equations List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============8831454659707998487==" --===============8831454659707998487== Content-Type: multipart/alternative; boundary="000000000000afeeaa0640028b1d" --000000000000afeeaa0640028b1d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, does \setupformula [numberstate=3Dauto] 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=E2=80=AFPM ANH D=C5=A8NG L=C3=8A wrote: > Hello, > > I have a tex file > > \setupinteraction[state=3Dstart,focus=3Dstandard] > \definereferenceformat[eqref][left=3D(,right=3D),style=3Dnormal,color=3Db= lue] > > \starttext > > With \CONTEXT\ we could write maths. Equations can be referenced. For exa= mple, see \eqref[eqn:famous-emc]. > > \placeformula[eqn:famous-emc] > \startformula > E =3D mc^2 > \stopformula > with > \placeformula[eqn:def-m] > \startformula > m =3D \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}} > \stopformula > > \stoptext > > [image: enter image description here] > > 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 > . 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 > > _________________________________________________________________________= __________ > --000000000000afeeaa0640028b1d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

does

\setu= pformula
=C2=A0 [numberstate=3Dauto]

work for y= our purpose? You will need the latest release.

/Mi= kael

PS Something similar for the other question y= ou posted. I think what I wrote there went into the distribution.

On Tue, Sep 30, 2025 at 12:36=E2=80=AFPM ANH D=C5=A8NG L= =C3=8A <leanhdung1994@gmail.c= om> wrote:

= Hello,

I have a tex file

\setupinteraction[state=3Dstart,fo=
cus=3Dstandard]
\definereferenceformat[eqref][left=3D(,right=3D),style=3Dnormal,color=3Dblu=
e]

\starttext

With \CONTEXT\ we could write maths. Equations can be referenced. For examp=
le, see \eqref[eqn:famous-emc].

\placeformula[eqn:famous-emc]
\startformula
E =3D mc^2
\stopformula
with
\placeformula[eqn:def-m]
\startformula
m =3D \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\stopformula

\stoptext

3D"enter

I would like=C2=A0to turn off the= numbering of equations that are not referenced. The corresponding optio= n in LaTeX is \mathtoolsset{showonlyrefs}. An answer has been = provided here. 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 t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--000000000000afeeaa0640028b1d-- --===============8831454659707998487== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============8831454659707998487==--