From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109474 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky Newsgroups: gmane.comp.tex.context Subject: format error with latest 2020-11-16 19:40 with mkiv (luatex) Date: Tue, 17 Nov 2020 02:06:05 +0000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6091567912469335151==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11101"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 17 03:06:47 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 1keqON-0002oX-EA for gctc-ntg-context-518@m.gmane-mx.org; Tue, 17 Nov 2020 03:06:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 07A1B1AA340; Tue, 17 Nov 2020 03:06:21 +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 fiOxTLkKuE3V; Tue, 17 Nov 2020 03:06:19 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 144E21AA334; Tue, 17 Nov 2020 03:06:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2BA201AA30A for ; Tue, 17 Nov 2020 03:06:18 +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 52ExXv8mH7WR for ; Tue, 17 Nov 2020 03:06:17 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.42; helo=mail-ej1-f42.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 900AB1AA306 for ; Tue, 17 Nov 2020 03:06:17 +0100 (CET) Original-Received: by mail-ej1-f42.google.com with SMTP id y17so21587572ejh.11 for ; Mon, 16 Nov 2020 18:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cF6JKRHHwgD9wW+Q2cOlG4LBHaYcQLQUo1ck5FhGO1w=; b=IB7i6Tg6Qw5+OGZ/J7UeXxi2qgyidX9LfjlBYTuMMRd0AzgP46XUefDT7byn0+CgmD MSm/T07eMFFcxBJelFcSkJYVRiGZ4DNZKFzeZjBExZmnrek0Dq3dcke4TDpizrthtglM XkYwsobjdUAehMfCTCUsGo08gmaW/4I8IfL1Obr9KJHs6oO+ZKNWvpOJuLj9OUIQ7sVg s9g6ZNbT5cGfeAj8U+i90cBW3aZV1fQFCrzjdbrA8wTZHDkSl6hDDVfm5b6MVejjhH0r JyeLltftIiib+gLb6o7gOB7HKwmO5YfpLeXC3krWENRvWXSz1qyVbXzhtAZLNZGZyo0X GfPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cF6JKRHHwgD9wW+Q2cOlG4LBHaYcQLQUo1ck5FhGO1w=; b=Tnm/9T4mY/Q4n49AbnDmfYF2cN8y6OSHeZ/bjm4lAnWRi8zE8ZRmeRKLr+w5L4NuKP dPQTTQA0f6fTHpP3BVPZC50nZcWfNUZbttqAhOyN2X0+ROO6yVz3ARSgH7Gusw+MECPv dA0JkbLtTp5P4m1lLPBt0eqH6Nb4dax24dbwt6VzZ/EdwgT/BJGREJonilrWBGr76Zd3 YAEUO5lL+2GcPiZR8btMgsWf+DTS2sO3ni1g+8KAaYjMwoKWzx9Q9sIBkLg2SFhCeT4T UEDMkJmNhnmsdiqfxFmju932Kx0mpHqfESUyJkMAqHOcULdor+PzpmhhEQhMpQKr3L5A cHXw== X-Gm-Message-State: AOAM530baGwDoypwXStgHjijQnU7CIGGFQ2OUtqx3W/Fwh74+BJlTAVP fB28F+WNpwgZVqdt08ifEL4k1IYfWptpFPRaNGQRzDgadYhCbQ== X-Google-Smtp-Source: ABdhPJzI3fpjtld09k8h90ToaiKGqQPciWxSh0cA/bwKzeXO6KWMzDa+GM3/JjP82o28dpPamLI0rwESlZjtvOgi9Pk= X-Received: by 2002:a17:906:ccd3:: with SMTP id ot19mr17793448ejb.44.1605578776758; Mon, 16 Nov 2020 18:06:16 -0800 (PST) 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:109474 Archived-At: --===============6091567912469335151== Content-Type: multipart/alternative; boundary="000000000000a5cecf05b443f0a2" --000000000000a5cecf05b443f0a2 Content-Type: text/plain; charset="UTF-8" Hi, I am getting the following error message trying to generate the formats (context --make) with the latest version (latest 2020-11-16 19:40) with luatex 1.13.0 7385 (not lmtx). loading > ConTeXt Typesetting Macros / Triggering Actions resolvers > lua > loading file '/usr/share/texmf/tex/context/base/mkiv/typo-inj.lua' succeeded tex error > tex error on line 49 in file /usr/share/texmf/tex/context/base/mkiv/typo-inj.mkiv: ! Parameters must be numbered consecutively * l.49 \permanent\tolerant\protected\def\checkinjector [#1]#* [#2]{\clf_checkinjector{#1}{#2}} 39 %D \placeregister[index][criterium=text] 40 %D \page 41 %D \startsection[title=Alpha] first \index{first} \stopsection 42 %D \startsection[title=Beta] second \index{second} \stopsection 43 %D \startsection[title=Gamma] third \index{third} \stopsection 44 %D \startsection[title=Delta] fourth \index{fourth} \stopsection 45 %D \stoptext 46 47 \permanent \protected\def\resetinjector [#1]{\clf_resetinjector{#1}} 48 \permanent \protected\def\markinjector [#1]{\dontleavehmode\clf_markinjector{#1}} 49 >> \permanent\tolerant\protected\def\checkinjector [#1]#*[#2]{\clf_checkinjector{#1}{#2}} 50 \permanent \protected\def\checknextinjector [#1]{\clf_checkinjector{#1}{\v!next}} 51 \permanent \protected\def\checkpreviousinjector [#1]{\clf_checkinjector{#1}{\v!previous}} 52 %permanent \protected\def\checknextinjector [#1]{\clf_checknextinjector{#1}} 53 %permanent \protected\def\checkpreviousinjector [#1]{\clf_checkpreviousinjector{#1}} 54 \permanent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf_setinjector{#1}{#2}{#3}} 55 \permanent\tolerant\protected\def\showinjector [#1]{\clf_showinjector{#1}} 56 57 \permanent\protected\def\domarkinjector#1#2% called at the lua end 58 {\dontleavehmode\llap{\infofont\ifcase#1\else\red\fi<#2>\quad}} 59 Swapping typo-inj.mkxl with typo-inj.mkiv makes it work though, changing \permanent\tolerant\protected\def\checkinjector [#1]#*[#2]{\clf _checkinjector{#1}{#2}} \permanent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf _setinjector{#1}{#2}{#3}} back to \unexpanded\def\docheckinjector [#1][#2]{\clf_checkinjector{#1}{#2}} \unexpanded\def\dosetinjector [#1][#2][#3]{\clf_setinjector{#1}{#2}{#3}} Were the files mixed up? Shouldn't the former be for mkxl (lmtx) and the latter for mkiv? Adam --000000000000a5cecf05b443f0a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am getting the followi= ng error message trying to generate the formats (context --make) with the l= atest version (latest 2020-11-16 19:40) with luatex 1.13.0 7385 (not lmtx).=

loading =C2=A0 =C2=A0 =C2=A0 =C2=A0 > ConTeXt = Typesetting Macros / Triggering Actions
resolvers =C2=A0 =C2=A0 =C2=A0 &= gt; lua > loading file '/usr/share/texmf/tex/context/base/mkiv/typo-= inj.lua' succeeded

tex error =C2=A0 =C2=A0 =C2=A0 > tex error= on line 49 in file /usr/share/texmf/tex/context/base/mkiv/typo-inj.mkiv: != Parameters must be numbered consecutively

<to be read again> =
*
l.49 \permanent\tolerant\protected\def\checkinjector =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0[#1]#*
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [#2]{\clf_checkinjector{#1}{#2}}<= br>
39 =C2=A0 =C2=A0 %D =C2=A0 =C2=A0 \placeregister[index][criterium=3D= text]
40 =C2=A0 =C2=A0 %D =C2=A0 =C2=A0 \page
41 =C2=A0 =C2=A0 %D =C2= =A0 =C2=A0 \startsection[title=3DAlpha] first =C2=A0\index{first} =C2=A0\st= opsection
42 =C2=A0 =C2=A0 %D =C2=A0 =C2=A0 \startsection[title=3DBeta] = =C2=A0second \index{second} \stopsection
43 =C2=A0 =C2=A0 %D =C2=A0 =C2= =A0 \startsection[title=3DGamma] third =C2=A0\index{third} =C2=A0\stopsecti= on
44 =C2=A0 =C2=A0 %D =C2=A0 =C2=A0 \startsection[title=3DDelta] fourth= \index{fourth} \stopsection
45 =C2=A0 =C2=A0 %D \stoptext
46 =C2=A0 = =C2=A0
47 =C2=A0 =C2=A0 \permanent =C2=A0 =C2=A0 =C2=A0 =C2=A0 \protect= ed\def\resetinjector =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0[#1]{\clf_resetinjector{#1}}
48 =C2=A0 =C2=A0 \permanent =C2=A0 =C2= =A0 =C2=A0 =C2=A0 \protected\def\markinjector =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 [#1]{\dontleavehmode\clf_markinjector{#1}}
4= 9 >> =C2=A0\permanent\tolerant\protected\def\checkinjector =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0[#1]#*[#2]{\clf_checkinjector{#1}{#2}}
50 =C2=A0= =C2=A0 \permanent =C2=A0 =C2=A0 =C2=A0 =C2=A0 \protected\def\checknextinje= ctor =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[#1]{\clf_checkinjector{#1}{\= v!next}}
51 =C2=A0 =C2=A0 \permanent =C2=A0 =C2=A0 =C2=A0 =C2=A0 \protec= ted\def\checkpreviousinjector =C2=A0 =C2=A0 =C2=A0 =C2=A0[#1]{\clf_checkinj= ector{#1}{\v!previous}}
52 =C2=A0 =C2=A0 %permanent =C2=A0 =C2=A0 =C2=A0= =C2=A0 \protected\def\checknextinjector =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0[#1]{\clf_checknextinjector{#1}}
53 =C2=A0 =C2=A0 %permanent =C2= =A0 =C2=A0 =C2=A0 =C2=A0 \protected\def\checkpreviousinjector =C2=A0 =C2=A0= =C2=A0 =C2=A0[#1]{\clf_checkpreviousinjector{#1}}
54 =C2=A0 =C2=A0 \per= manent\tolerant\protected\def\setinjector =C2=A0 =C2=A0 =C2=A0[#1]#*[#2]#*[= #3]{\clf_setinjector{#1}{#2}{#3}}
55 =C2=A0 =C2=A0 \permanent\tolerant\p= rotected\def\showinjector =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 [#1]{\clf_showinjector{#1}}
56 =C2=A0 =C2=A0
57 =C2=A0 =C2=A0= \permanent\protected\def\domarkinjector#1#2% called at the lua end
58 = =C2=A0 =C2=A0 =C2=A0 {\dontleavehmode\llap{\infofont\ifcase#1\else\red\fi&l= t;#2>\quad}}
59 =C2=A0 =C2=A0

Swapping = typo-inj.mkxl with typo-inj.mkiv makes it work though, changing
=20 =20 \perma= nent\tolerant\protected\def\checkinjector [#1]#*[#2]{\clf<= /span>_checkinjector{#1}{#2}}
=20 \perma= nent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf_setinjecto= r{#1}{#2}{#3}}
back to
\unexpanded\def\docheckinjec= tor [#1][#2]{\clf_checkinjector{#1}{#2}}
=20 \unexpande= d\def\dosetinjector [#1][#2][#3]{\clf_setinjector{#1}{#2}{#3}}

Were the files mixed up?
Should= n't the former be for mkxl (lmtx) and the latter for mkiv?

Adam

--000000000000a5cecf05b443f0a2-- --===============6091567912469335151== 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== --===============6091567912469335151==--