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.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI 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 769132A40C for ; Sun, 3 Nov 2024 08:21:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 9396B4851CC for ; Sun, 3 Nov 2024 08:19:53 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); 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-transfer-encoding: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:content-language:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:received:received :received:received:received:received:received; s=cgl; t= 1730618393; x=1733210394; bh=U7E3wMtgy1gXBn582W3robTJeg5t6cSIPXB UEvHL2LA=; b=u6UA2m7h53Vb+COYqqYhJmuaM7eTlRYWJodb4k0VKSsp4d2Ryp2 aVngYE/6zLjFHBO9a5cZqBZhPf5gaxTPpoeMRnCreD561G2mdsKDM8hIo3NSjBHh VP1CPsv3FnOMvcy0P4Eto3x42/ZRO9piH/vmLmH7ussiqOw4biMOaq9A= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); 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]) (amavisd-new, port 10024) with ESMTP id c2PFtB9ZLHxH for ; Sun, 3 Nov 2024 08:19:53 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2F143484D06 for ; Sun, 3 Nov 2024 08:19:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8CEA4480B27 for ; Sun, 3 Nov 2024 08:19:05 +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 2JQ4m85fE38E for ; Sun, 3 Nov 2024 08:19:05 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.53; helo=mail-ej1-f53.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 447D04809F9 for ; Sun, 3 Nov 2024 08:19:04 +0100 (CET) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a998a5ca499so420183966b.0 for ; Sun, 03 Nov 2024 00:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730618344; x=1731223144; darn=ntg.nl; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=CvwJqjEiLryyamrQ+1FRKtrRhce0jZM8pE1iqJl0YOg=; b=EGjXvZrLTW0IjcqGyejQcLjjc+KhN5Ue/VwSawLBFrKEbcze4jLWBbcHeUb6+mJI8j uWfOf8Hu0xYZHOeCRj9be4udLDgYm+9c+vcvLM95wLSuWqXfgo3H7UOXxVRCf3EyoBkO fPzQZr9V+EIpor6AAbpB0gu5S8wFjoIiKrBF9vu6XrsciOVTcyE41M7dbvh/bmfKB5Rz rxtcXGurJRUacJWJBrK4US/Ms1bOhDzNonIrqXuKl1Aw2J2Wae0e8ExgFQ8BW28g3+w0 c+Vz8zFiH18y4jYwHv1PcBD2mcYYaVecgm2AlXuOXFkxt3gVVjfDsJXNnShaAR6vZYkR C6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730618344; x=1731223144; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CvwJqjEiLryyamrQ+1FRKtrRhce0jZM8pE1iqJl0YOg=; b=g2XD2DZeDt+TYM+YzQPQ1ltRm7RgNdhkoZFVDZ9+ffFQEcT06+A5c7wMgLY7E4RJdx rFcOsYxrSTFLU8Rg7sARZUvpGBBpiLYs/BaDb8b3H/2TJjhS0J+p7/IIr3fXOf8azFOE DhgniViNkOikyQ6txJn4o7bYJQ+u3qpQMizpzEmOV4OM/2QxBOLjptTYIa78LQkCE09E 6pk4VJdQFzH6wV9EGGem7IwOrKIkuKHDU8PnmWJUrlOOl3HNg0aWxGOLnBCHp1Mt5Hll UDW8H/ZCi/zIaO+zgeCFgNVlK5NFhDDwBxot44hHnB1vnxtzWix87H3y64JxTpk2UClC /ILg== X-Gm-Message-State: AOJu0YwBrdcWYyBYGHgnHtP3fLSNEk3x/vQF0I5rd2FJ7VWXkGv+naaW izh8fmreWBBHKp6JAcb+juVSt36NlGVPAhz2Ys0MoS6+2rYvGGyn X-Google-Smtp-Source: AGHT+IFGB9JnaLV5/sZ94XT1Ru1KZ9nLEqZ7bwznyAOfrDty6mU42nfBaJwENgfYDOvxNcbbI2RzgA== X-Received: by 2002:a17:907:6e9e:b0:a99:46dd:f397 with SMTP id a640c23a62f3a-a9e65806d1emr834485566b.64.1730618344108; Sun, 03 Nov 2024 00:19:04 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:e1a8::4b99? ([2a02:810d:a8bf:e1a8::4b99]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9e56494557sm390728966b.1.2024.11.03.00.19.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Nov 2024 00:19:03 -0700 (PDT) To: mailing list for ConTeXt users , Joel via ntg-context References: <692582251.5119511.1730577725919.ref@mail.yahoo.com> <692582251.5119511.1730577725919@mail.yahoo.com> From: Wolfgang Schuster Message-ID: <6e210335-ab71-2a6e-b80d-2b13b1559e33@gmail.com> Date: Sun, 3 Nov 2024 08:19:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.64 MIME-Version: 1.0 In-Reply-To: <692582251.5119511.1730577725919@mail.yahoo.com> Content-Language: en-US Message-ID-Hash: BI73WBUJC6ED7DL6BWLWUCIDVM4HDAOQ X-Message-ID-Hash: BI73WBUJC6ED7DL6BWLWUCIDVM4HDAOQ X-MailFrom: wolfgang.schuster.lists@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: How can a macro check how many items are in a list? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Sm9lbCB2aWEgbnRnLWNvbnRleHQgc2NocmllYiBhbSAwMi4xMS4yMDI0IHVtIDIxOjAyOg0KPiBT dXBwb3NlIEkgaGF2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c3QNCiAgIFtEbyB5b3Ug dGhpbmsgY2F0cyBzaG91bGQgYmUgYmFubmVkIGZyb20gdW5pdmVyc2l0eSBkb3JtaXRvcmllcz9d DQoNClxzdG9wdGV4dA0KJSUlJSBlbmQgZXhhbXBsZQ0KDQpXb2xmZ2FuZw0KX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVzdCB0byBvdGhlcnMg YXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1haWxsaXN0IDogbnRn LWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly9tYWlsbWFuLm50Zy5ubC9tYWlsbWFuMy9saXN0cy9u dGctY29udGV4dC5udGcubmwKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5sIC8g aHR0cHM6Ly9jb250ZXh0LmFhbmhldC5uZXQgKG1pcnJvcikKYXJjaGl2ZSAgOiBodHRwczovL2dp dGh1Yi5jb20vY29udGV4dGdhcmRlbi9jb250ZXh0Cndpa2kgICAgIDogaHR0cHM6Ly93aWtpLmNv bnRleHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg==