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=-1.1 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_IMAGE_RATIO_06, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_ZEN_BLOCKED_OPENDNS, URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham 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 A3E252131E for ; Tue, 30 Sep 2025 12:38:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BD104487086 for ; Tue, 30 Sep 2025 12:38:00 +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:mime-version:received:received:received:received:received :received; s=cgl; t=1759228679; x=1761820680; bh=//bS0dZ7DZ5Y2Hp D+8k3nUV1GKO7XFaJtEQ2EmVYUZY=; b=HtWtFiu/QFpQTlKalbYjdVcDxYmeMwp wB5oSotSZNMBcONxOK3zhID6G+hayQsYjFWEb76IEBDO9kJaMudVLwEZ8WfSiXim /DSdK/6nQAYdu3736c3LEK+KXgQZoO1Qy3x23VAvI9mEbfM786oF7hctX4+iiA1D CO+2aZrl3PFg= 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 Y37qHySVHrBO for ; Tue, 30 Sep 2025 12:37:59 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DB0F0486F35 for ; Tue, 30 Sep 2025 12:36:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 31D9A486F16 for ; Tue, 30 Sep 2025 12:36:17 +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 etesiRIc4u6z for ; Tue, 30 Sep 2025 12:36:16 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.48; helo=mail-pj1-f48.google.com; envelope-from=leanhdung1994@gmail.com; receiver=ntg.nl Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 67FF7486F15 for ; Tue, 30 Sep 2025 12:36:16 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-3306eb96da1so4720530a91.1 for ; Tue, 30 Sep 2025 03:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759228574; x=1759833374; darn=ntg.nl; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Tld1iDi89vX/b/WGq75O+eojjmdDOuiU9yeYoLxde0M=; b=eKUZgyi1U02his7R6hjPwgTzS7OiomwvRQFoKpdshlsYDq4lawRYnB1eveZFlLRtZ2 NHT6Wn4Fhv/gCesR3/5BIRN0ZEjNoPq2SQITOHewEsOT4yDRtpYQM6BLKOZF/Yyr0ilx tTmE2wnwaBcrzUL2MyPQ08vniy642RplplSIFPyI6A98MpncRL35Rgy/ODqYWlPmobka 2kBikKtUCSQA7Pen0QT81JPCE+f/SuoWp9bG2KyHbcPFB0Hg6yAp8uni6ZfwJYX83Y7I rvNLmw3qKWp4EK5NDRKFaef0wFSyojk2eoU1A2qkgROEa3XfFtFDWLLOWCw/Bet3fIa/ nNCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759228574; x=1759833374; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Tld1iDi89vX/b/WGq75O+eojjmdDOuiU9yeYoLxde0M=; b=mMPdSxmTNXQ93CT6+f4Te1DIka5kl+9c25zAZ8z038jdPPWGplD2PsszyFanFzDFvn Zf+bsEryXVBMm2HVr4pkh3DC5TEcPKb77osktmWyAAA/dQ7s/DYrM3Wsj/Qi/gs+pzZp AYCbWqxRGJg3ezTc80a55bk8SvKMk7C6oyV2S4UW8ODfOk28EwfA9J5o4VbZPr08tZk6 vIBmZjVOn+kY7DUf4Z3NHgKAaIAp4wuJJMfpXiIyPDOxvVFAhDubB3XhTnrUZZJ43pAm aP1bgaterhOaNCqrGAeInvTACB+ExHlCggmCUayKMa6hoPWDBdRG+ofQW5zmXPxpHQQu xVYg== X-Gm-Message-State: AOJu0Yw1uuhVp/mLdjf8o8jS+5DRmfde6V3p6CN/lYYeyUvWI2DCFhHc Iuie+9egTIg0GuOVGvYxXNB2ScWG5uYf0sUU0R/32EkzEYWOykQCzsRydn3EbwNS8eUO5LSsi5X Gavn/cR+ZQKtv2FCbI0Hjvf+QjmQkYQfyBZag X-Gm-Gg: ASbGncvThyiaemcovAGmk99f3CazG9KCOaBFGki6QaF4MPGDU2RF+FEV7u1PbPjZD2P bgXW3STnJjYr/aUBFooZAH5tkW8AuyC5Xrx+VBnYXwIp0Ps2Lx5dIwHrXgA5/gqxBEPRB0YSp6Z nnk9NQ0/OW6cN3rwi7NrJWl6b4oRimVoSrxd0oStlSGhsi15cw0AknhHmzINolFnk4M4SYatanK Frcz1z6Y1jg6BLhlqPby7/EgBdKBsk= X-Google-Smtp-Source: AGHT+IGnBK2JTJvHsTs2HlIUqg7lrPYb9zSctLOB6jPdWCs3bQxyMIoYaahX6TZ+RT0D14Z/94du3ZdCwc2AFmPbkZY= X-Received: by 2002:a17:90b:3890:b0:32e:3c57:8a9d with SMTP id 98e67ed59e1d1-3342a30ed08mr21123796a91.30.1759228574077; Tue, 30 Sep 2025 03:36:14 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?QU5IIETFqE5HIEzDig==?= Date: Tue, 30 Sep 2025 12:35:38 +0200 X-Gm-Features: AS18NWA72qYCKXGuex150QCoQNjTRMan7myLQlXsRjeyJzKM7gjahfgfgHrErCE Message-ID: To: ntg-context@ntg.nl Message-ID-Hash: BISSI3UOPNC74JHEDSD2ACC2F7TXDP35 X-Message-ID-Hash: BISSI3UOPNC74JHEDSD2ACC2F7TXDP35 X-MailFrom: leanhdung1994@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] 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="===============6531719508477991049==" --===============6531719508477991049== Content-Type: multipart/alternative; boundary="0000000000003c991b0640025295" --0000000000003c991b0640025295 Content-Type: text/plain; charset="UTF-8" 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] 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 --0000000000003c991b0640025295 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello,

I have a tex file

\setupinteraction[state=3Dsta=
rt,focus=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 correspondi= ng option in LaTeX is \mathtoolsset{showonlyrefs}. An answer h= as been provided = here. I hope that this functionality could be made into an option in th= e next release of ConTeXt.

Best regards,

Dung

--0000000000003c991b0640025295-- --===============6531719508477991049== 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 ___________________________________________________________________________________ --===============6531719508477991049==--