From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109978 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: \dodoubleemptywithset not working in LMTX Date: Sun, 20 Dec 2020 16:42:15 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1768747377307274137==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 20 16:43:00 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kr0rM-0009RZ-RK for gctc-ntg-context-518@m.gmane-mx.org; Sun, 20 Dec 2020 16:43:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0F7A01C151D; Sun, 20 Dec 2020 16:42:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fGKtZarVXxbO; Sun, 20 Dec 2020 16:42:34 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A47691C151F; Sun, 20 Dec 2020 16:42:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D79E71C151F for ; Sun, 20 Dec 2020 16:42:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ADO4L6y1oXAk for ; Sun, 20 Dec 2020 16:42:32 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.49; helo=mail-lf1-f49.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 47D991C151D for ; Sun, 20 Dec 2020 16:42:32 +0100 (CET) Original-Received: by mail-lf1-f49.google.com with SMTP id o17so17796303lfg.4 for ; Sun, 20 Dec 2020 07:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7p06z2W6b+S1wGR26/OkMNk2/x0oofCwlL9Bhfxj6SA=; b=Lbus/CHtHG5Icz8C9ZT/YFbfwr+HbgXLrkFEcrA79lzAj516oz3SqoZmpkjIKQnDOv ZobDqSBBjZdYX4YWPd/pl3DC2j7Nf+l+DnYGGc8SVR2qx+2F6BVOmcnRRbyZnEAWH9PJ IRLpk2bIcPICLRUpGjl9kClD/r60bFdKBDZgvuZYf33GkhU/NJrBtyiRdSr1Hknki7cZ HROKVWYau4UC74Vy209RIJZdVoZblcIptuSItBr00ozsKmPi6Ilsgj9LxVpS6eJ29BMV TN8FuH/W8Nvdp2eVQacvLDRgVh9dfrd+sbY3B5WjXVu9+Z0FIMQRc3kFQj0ed3DaryPM hT5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7p06z2W6b+S1wGR26/OkMNk2/x0oofCwlL9Bhfxj6SA=; b=CuVjnzbP+/FDJv15zh8dqTZXWwhKAC/+MMFPmbF14v+0+z1fVjiM089HL1Z9MLzPaS hTgelGThGu/Grn6XYqSDbzIG3+GP6pE1p7EKrP2qMxzlNeT0J4/ilTIsWoCeEns9bdCq jYpkDtKoXiuPsiPjQuPe4EUx9ntQ8ms5XtfyyCSqDO/EhqbhTir2ETXNDQ+CweJzG7ds u4EWsXcbr+3y6Wm8JUuxpw4R1OKOvzzcWhtGLz9Vt/0gGlmqxW6g7xjbmXhrmc8xk4g0 awHTvDF+4Addek5derSKPQ43RJp5H7MqeXCACCkvEHmSJNacC1b/SGDW4j2j/QvWpyKm qHPw== X-Gm-Message-State: AOAM530p1KqmHMrVKimxWmI0iEOBlP0Dy5hP1Cf3OzDOOkaDlCUuS2Y0 8Be3iRC6XvNiYbNhnQY55Y/NtIap4rdsYjK3lZO+PHxdk7I= X-Google-Smtp-Source: ABdhPJzA6RAV5t+oFseHisxT+jU+i/zb9O0eyExBN9waMhbrKTtmjJxFWyQ9B6NFo6Z/OUxZz08Kc+B0NZCaLEMbPfo= X-Received: by 2002:a2e:b006:: with SMTP id y6mr5475228ljk.366.1608478951751; Sun, 20 Dec 2020 07:42:31 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109978 Archived-At: --===============1768747377307274137== Content-Type: multipart/alternative; boundary="0000000000008c43e405b6e7304e" --0000000000008c43e405b6e7304e Content-Type: text/plain; charset="UTF-8" On Sun, Dec 20, 2020 at 4:32 PM Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote: > Christoph Reller schrieb am 20.12.2020 um 16:15: > > Hi, > > > > The following MNWE uses \dodoubleemptywithset. In ConTeXt MKIV it > > works as expected, In ConTeXt LMTX an error results. > > It's a bug, the wrong argument is passed as comma list. > > \permanent\tolerant\protected\def\dodoubleemptywithset#1#*[#2]#*[#3]% > {\doifsomething{#2}% > {\def\syst_helpers_with_set_step##1{#1[##1][#3]}% > - \processcommalist[#1]\syst_helpers_with_set_step}} > + \processcommalist[#2]\syst_helpers_with_set_step}} > > \permanent\tolerant\protected\def\dotripleemptywithset#1#*[#2]#*[#3]#*[#4]% > {\doifsomething{#2}% > {\def\syst_helpers_with_set_step##1{#1[##1][#3][#4]}% > - \processcommalist[#1]\syst_helpers_with_set_step}} > + \processcommalist[#2]\syst_helpers_with_set_step}} > > Wolfgang Thank you Wolfgang for the fast response! (And sorry for having provided a faulty MWE.) Cheers, Christoph --0000000000008c43e405b6e7304e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Dec 20, 2020 at 4:32 PM Wolfgang = Schuster <wolfgang.= schuster.lists@gmail.com> wrote:
Christoph Reller schrieb= am 20.12.2020 um 16:15:
> Hi,
>
> The following MNWE uses \dodoubleemptywithset. In ConTeXt MKIV it
> works as expected, In ConTeXt LMTX an error results.

It's a bug, the wrong argument is passed as comma list.

\permanent\tolerant\protected\def\dodoubleemptywithset#1#*[#2]#*[#3]%
=C2=A0=C2=A0 {\doifsomething{#2}%
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {\def\syst_helpers_with_set_step##1{#1[##1][= #3]}%
-=C2=A0=C2=A0=C2=A0=C2=A0 \processcommalist[#1]\syst_helpers_with_set_step}= }
+=C2=A0=C2=A0=C2=A0=C2=A0 \processcommalist[#2]\syst_helpers_with_set_step}= }

\permanent\tolerant\protected\def\dotripleemptywithset#1#*[#2]#*[#3]#*[#4]%=
=C2=A0=C2=A0 {\doifsomething{#2}%
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {\def\syst_helpers_with_set_step##1{#1[##1][= #3][#4]}%
-=C2=A0=C2=A0=C2=A0=C2=A0 \processcommalist[#1]\syst_helpers_with_set_step}= }
+=C2=A0=C2=A0=C2=A0=C2=A0 \processcommalist[#2]\syst_helpers_with_set_step}= }

Wolfgang

Thank you Wolfgang for the fast re= sponse! (And sorry for having provided a faulty MWE.)

<= div>Cheers,
Christoph

--0000000000008c43e405b6e7304e-- --===============1768747377307274137== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1768747377307274137==--