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 D7F5F21BED for ; Mon, 7 Oct 2024 23:18:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BBBB3484E68 for ; Mon, 7 Oct 2024 23:17:15 +0200 (CEST) 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= 1728335835; x=1730927836; bh=R0kaHvLY1eo6KboEViqvVvQ1MqHiQ5hokgs kfjMIPLE=; b=eUOyazF1UlZYr14h13xpYnoYMDm2nVnzTqnKrjQRVSbCm6PR6Xo QoYOiljd299PUmTGriO7IqacjJmVGl1ScBnXps4BL5ZY5OCwW8isIzS1reDKmN4t OBd3cwRN02LZvzbS/kmapA0X0KhrQP1QH5UuWyecIkAr7r1EyAeOLfWI= 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 nd8bAJ55DFXM for ; Mon, 7 Oct 2024 23:17:15 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2236B484FEB for ; Mon, 7 Oct 2024 23:16:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0F2B1484B5B for ; Mon, 7 Oct 2024 23:16:25 +0200 (CEST) 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 EJh-8umPYIdw for ; Mon, 7 Oct 2024 23:16:24 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.41; helo=mail-lf1-f41.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.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 BCFA5484B56 for ; Mon, 7 Oct 2024 23:16:24 +0200 (CEST) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5398996acbeso5431126e87.1 for ; Mon, 07 Oct 2024 14:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728335784; x=1728940584; darn=ntg.nl; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=UBZG6Pszm1N7/N8/ojLBg4lwE+qh6dNUZDlQyNQ+w6U=; b=gWiW6WphIGTQf2aXR2YzWAVmGBqMWvV4u4jXo2hVY9Plrfq/3+IIILQGviOhQkknr7 oh4GHEWyxgmq0Lu3iwmeidIHlX0YIa9sVe9r63cbqa5A8LpHRBpaEnsMgFaxBabCdT2F 8j0snBsYlMMGyWgNnMyWeC1bZ8g6at8Zu0cQL3EpV2GCKGCxEw8rJe7o33vTvUKzxEvG 7zcDbsLzcriyRzhiQb8NkXpSXfjGA1XdugLmNHe20jRpYqva2FEkbBdg9hNuA3+zVu0q 3j//lc0eKpEt/qAbovcRpJtqpqFg5DP9wbLkMD+4ErbX5WuYb8spd6QBfsdfbj+qsg/4 LH5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728335784; x=1728940584; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UBZG6Pszm1N7/N8/ojLBg4lwE+qh6dNUZDlQyNQ+w6U=; b=nh/7gIJSKdqXl2ne/W2R5rBAJmVmyKobfASrnC8/4VbvysgyjEA+swDlBGBN8ppUbp uTmSC70PE5ghgsOQjWLLq3aqmhY5N7bgu8n9nzJUfLXaOwXsN3nMtZjA0pvjQOoh5srf uKo8n/0NTg6fwncI1tTaxe+jx9Gp+CHQoifg2+Cp73oG3b2rtq/D9pzA1WYa8O5qoxj/ z0u2KcJXLGmhpzpFzJr7CAm0JehJlqAnn7dbrixXxJecd6P2UFVc9gXrtk26hVvn7fbp mJulOFoyxs1VuHpGTlywA7Tehbe1nt6flFVwqjYkviAa/WyoopqkcyHoo3cNfbodcgqh ioHg== X-Gm-Message-State: AOJu0YwUnJGePxHcDmNimM6QiG7Hp47erB1Kwrqs8fUWRCiuX6Qo3Iwq 2lEByqpZF/+Roeeo++JNXMlo81kXRRI2DgRONrtUm5iOMAbjTgvk X-Google-Smtp-Source: AGHT+IH3LPJO7+G3BbkS6YpoLX/8eFI5oIGAftWyv2CkKxi1i12PFQ07RU6M/A5Z/IwF8X9jILpwDw== X-Received: by 2002:a05:6512:159d:b0:536:53a9:96d5 with SMTP id 2adb3069b0e04-539ab866484mr6018224e87.17.1728335779125; Mon, 07 Oct 2024 14:16:19 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:e1a8:58af:cbe4:6cbf:6240? ([2a02:810d:a8bf:e1a8:58af:cbe4:6cbf:6240]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a992e783d86sm419392266b.136.2024.10.07.14.16.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Oct 2024 14:16:18 -0700 (PDT) To: mailing list for ConTeXt users , Jorge Manuel References: <618a0804-4cba-4985-9812-1227f6926107@Spark> From: Wolfgang Schuster Message-ID: <385b6085-f741-a7c8-f6c9-c0428fab17dd@gmail.com> Date: Mon, 7 Oct 2024 23:16:15 +0200 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: <618a0804-4cba-4985-9812-1227f6926107@Spark> Content-Language: en-US Message-ID-Hash: FYGTUW6C2WUCOJFNCJ5MRYTCOT3S4OUH X-Message-ID-Hash: FYGTUW6C2WUCOJFNCJ5MRYTCOT3S4OUH 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: Issue with Custom Conversion Code in Latest Version of ConTeXt 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="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable Jorge Manuel schrieb am 06.10.2024 um 17:44: > Dear ConTeXt Support Team, >=20 > I hope this message finds you well. > In the latest version of ConTeXt, the following piece of code no longer=20 > works as expected. I use it to define a custom legal numbering format=20 > for itemized lists: >=20 > \def\legalconversion#1{ > =A0\dorecurse{\numexpr\currentitemlevel-1}{% > =A0\namedstructurecounter{itemgroup}{\currentparentitemgroup}{\recursele= vel}.}% > =A0#1% > } >=20 > \defineconversion[legal][\legalconversion] >=20 > Could you kindly advise on how to modify or fix this code to be=20 > compatible with the current version of ConTeXt? Do you want this kind of numbering for itemize? \starttext \startitemize[n,repeat][stopper=3D,width=3D\widthofstring{0},distance=3D.5e= m] \item 1 \startitemize[n,repeat][stopper=3D,width=3D\widthofstring{0.0},distance= =3D.5em] \item 1.1 \startitemize[n][stopper=3D,width=3D\widthofstring{0.0.0},distance=3D.= 5em] \item 1.1.1 \stopitemize \stopitemize \stopitemize \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-c= ontext.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________= ________