From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8784 invoked from network); 13 Dec 2023 03:07:55 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 13 Dec 2023 03:07:55 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 336FC483E84 for ; Wed, 13 Dec 2023 04:06:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id phhpkxw7lnO6 for ; Wed, 13 Dec 2023 04:06:48 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DE4E0483B6C for ; Wed, 13 Dec 2023 04:06:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3C078483AA0 for ; Wed, 13 Dec 2023 04:05:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3EEzA17O_pSG for ; Wed, 13 Dec 2023 04:05:58 +0100 (CET) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (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 B5838483A92 for ; Wed, 13 Dec 2023 04:05:58 +0100 (CET) Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-7b7117ca63eso42047639f.1 for ; Tue, 12 Dec 2023 19:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702436757; x=1703041557; darn=ntg.nl; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QgAcyZRQEgUpRW7e6c1kaW7x37BpGMsuYXHIy5d0jHE=; b=AdkMQocfVAmNPBN5X8FWP/f7Mm7GF74Ki1QXe98GTDbBA6aTzwy6a1Hx79QopVocqB 4biCpWzFPyDPg7JB+5yPbEYVw7oeav7BJzgARvLnbJMcISguqe9EZb6ivN2zhuBCM096 Xs3aTeWqX1UN1uQXAYHSYTXmVugubudQV8oYOtFYZsBdVaVQKrrVUzmBrTtjoUj4apsZ z0sN0pbPV5IbK9RNKK2DCqZGyyg4xu5xDSk6jepmH5Qg14jyEpXIbrd6BuTqtois4gM5 KdEXvNvmdsCGSZtqdp5L7LNpsR5zHbPNmfZmpO66xfpqIeVJBoVTrc6h/DN68zIvXsrw 64Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702436757; x=1703041557; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QgAcyZRQEgUpRW7e6c1kaW7x37BpGMsuYXHIy5d0jHE=; b=xNKAgsHM8656XWvDMoTN3o15zqXTWHNST4uUc0Tz0+NFzt/XK8bWo9EovTES8UTttf XRwvjNLb2tr2eX5aNb+kgH7/fa0Rkl909F2NGqg6EGDKSKye22T5MehhO4M97JA3ReXn tWpppO6DxduUnr0ESOvPsfG7CwgiVYLfENawiughQh8IWjNTsFfqFYQxJTXkLJWb+fvw MR8AbdjN88zITvKL0Z30SVe9OlOpxQCNKFu5viUyQsAY8jG31y39/ZkJD20C4TqKz1Y5 WVwHFXeKsMYVYD/l+5V2HZpylVNnLxVhIYiKwO9w+eyyEJy18Q31lzfklKG48qGGOe/G 8UcA== X-Gm-Message-State: AOJu0YxalwbeBmWRc4+B7LhlfLbwamOddLQYNn4ytKewhLn9gB1fqbCx ohnRj7ix+IC911fKuffIpU2kqde9qrPgEC75PfM3rdA00ZCf2g== X-Google-Smtp-Source: AGHT+IGdv81j9PRdxigbDeDsqt3nQwxp/sqoAmPsvwYOfXMS4jmMZlcS0XwJ14sOQ7bpniP4sPX5cwQTFWF/8eS4/z8= X-Received: by 2002:a05:6602:257c:b0:7b4:2bdf:5a27 with SMTP id dj28-20020a056602257c00b007b42bdf5a27mr12137510iob.0.1702436756667; Tue, 12 Dec 2023 19:05:56 -0800 (PST) MIME-Version: 1.0 From: "Jairo A. del Rio" Date: Tue, 12 Dec 2023 22:05:45 -0500 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: 4EI7QBY24CYHSVEMGWYZJIJEMNOMQX7S X-Message-ID-Hash: 4EI7QBY24CYHSVEMGWYZJIJEMNOMQX7S X-MailFrom: jairoadelrio6@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.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Score sums and references 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="===============8055653308786557778==" --===============8055653308786557778== Content-Type: multipart/alternative; boundary="0000000000002242e8060c5b722a" --0000000000002242e8060c5b722a Content-Type: text/plain; charset="UTF-8" Hi, dear list. Is there a proper "ConTeXt way" to do the following? \integerdef\lmao=0 \starttext Sum: \in[trick] % 10 from the result below +1\advance\lmao\plusone +2\advance\lmao\plustwo +3\advance\lmao\plusthree +4\advance\lmao\plusfour \normalexpanded{\reference[trick]{\the\lmao}} % 10 printed above \stoptext I want the result of a sum (either via Lua or TeX) to be printed before summands in text, but without the mess of reference options such as interaction, etc. Thank you in advance and sorry for any inconvenience. Regards, Jairo --0000000000002242e8060c5b722a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, dear list. Is there a proper "ConTeXt way" t= o do the following?

\integerdef\lmao=3D0
\starttext
Sum: \in[t= rick] % 10 from the result below

+1\advance\lmao\plusone

+2\a= dvance\lmao\plustwo

+3\advance\lmao\plusthree

+4\advance\lmao= \plusfour

\normalexpanded{\reference[trick]{\the\lmao}} % 10 printed= above
\stoptext

I want the result of a sum (either via Lua or Te= X) to be printed before summands in text, but without the mess of reference= options such as interaction, etc. Thank you in advance and sorry for any i= nconvenience.

Regards,

Jairo
--0000000000002242e8060c5b722a-- --===============8055653308786557778== 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 ___________________________________________________________________________________ --===============8055653308786557778==--