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.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 51823296E4 for ; Wed, 29 May 2024 11:18:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3D214484572 for ; Wed, 29 May 2024 11:17:59 +0200 (CEST) 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 LjYt_Gkxn8-K for ; Wed, 29 May 2024 11:17:58 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E42AC484364 for ; Wed, 29 May 2024 11:16:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 057B4484262 for ; Wed, 29 May 2024 11:16:09 +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 EU-POyrSoGES for ; Wed, 29 May 2024 11:16:08 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.172; helo=mail-yw1-f172.google.com; envelope-from=champignoom@gmail.com; receiver= Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (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 1FBD4484221 for ; Wed, 29 May 2024 11:16:07 +0200 (CEST) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-627ebbe7720so17981197b3.0 for ; Wed, 29 May 2024 02:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716974166; x=1717578966; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=mQpqt64dyKT2XpBB1wbaMHxatxZ3Upk8MpgymMEYjq8=; b=L6Y9AMhaUWJieBohhCvm0GvilujAuDjmc7/0QiJ8UVUcVtVGvnCFdBNNfhBt6+A4h0 F6ypYTeCKNPAn/lpXAZuAQTM/q5z/KM/2xcGUf5iZPrAdbqFqthLu6EsaIQgjS4Mv7Wv LhlAmHe67we7qqqHMC7zF2157SlNMmbFmAItaBBMKHm5Mqa9wuSs+jqMeYTR7Yrut2LO EymSePm814JBGH/XFqmqKl2Gz79QRpKmZx0mFRfOiCQtW/ehJRxOgEkXOGVI0LO7dXBn xsW7SMa1UyJDFmYt8CKCchFdxsg0kEQh/lbbEazecZ4J9EKQQsLkmyYSz2laNbl6ww23 dFXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716974166; x=1717578966; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mQpqt64dyKT2XpBB1wbaMHxatxZ3Upk8MpgymMEYjq8=; b=YTFkxy1cQMHRogKTqqP7FdmHzBsvU2XgFRSeLhX8LNcpSO/pmKLPzHciOtsbqYTPBB 05ICUKnxjGyy/J/GtLZDVmbjrW1HgmrGFme/V0e9MdCQSFudfxcmVKpXfEoeOyu0Sh2D Gl4mvmy6uDwNtjaDXAzU1c9OBIaxa1MVgk23dcwN3AilMf/zV5AoQqAOeZ5JkA0jBHHg GdFl1gwGMxx7Yyau4MgeVwAqHcdKPl68qT3Qu5oFTTHaziMP1Ns4+R19l5F2xCUqyxvg JajHwHp/JtFWw0CxhaasXVQzsLQ0NMQkC8U87O5tBnSLYQ+l9Luk57smywuKmux0q6lF DtZQ== X-Forwarded-Encrypted: i=1; AJvYcCXhFFmBC5n+V4Rb+0XD+jjMwXvhlQyUsIB57Ib3HTy8gXwRb7Ai9duCyUNy6WsqfA85azKHkvsD/WCgOAikjSvXpb8= X-Gm-Message-State: AOJu0YwWwSU64H8Gx4yfEpUDF+Omn5tennVTQ6ZR/DUCxtU72xmKp1DL Sf339sPNpOlusRJVP3QYydWox46XOI9Lov8Z9cA94Ng63iUpA6MFI9rQmDIbMEBmmKwOG7L2y1L xMv+MUWlLdVzEZTQJJyubBwEmS94= X-Google-Smtp-Source: AGHT+IHx9Wr3xpU3oQWDjtqRCLidr7R37G1XDXJgznZIYMmgZcq3xy8y27lWko6HOIR0K5wnoc0zOj5waZvBWULtO3c= X-Received: by 2002:a81:431b:0:b0:627:96bd:b1d with SMTP id 00721157ae682-62a08db7105mr142793707b3.26.1716974166004; Wed, 29 May 2024 02:16:06 -0700 (PDT) MIME-Version: 1.0 References: <0e19909b-03c3-45f4-944c-b882f15f38f5@xs4all.nl> In-Reply-To: <0e19909b-03c3-45f4-944c-b882f15f38f5@xs4all.nl> From: Sylvain Hubert Date: Wed, 29 May 2024 17:15:55 +0800 Message-ID: To: Hans Hagen , mailing list for ConTeXt users Message-ID-Hash: 6QYRDJ74V754GZ5TAK4NKPFYQOGYYY6B X-Message-ID-Hash: 6QYRDJ74V754GZ5TAK4NKPFYQOGYYY6B X-MailFrom: champignoom@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] Re: lua error in `strc-lev.lua` 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="===============3814370731707064557==" --===============3814370731707064557== Content-Type: multipart/alternative; boundary="00000000000040e0f106199433dd" --00000000000040e0f106199433dd Content-Type: text/plain; charset="UTF-8" I rerun `install.sh` after replacing `strc-lev.lua` and the error goes away. Thanks Hans! On Tue, 28 May 2024 at 20:20, Hans Hagen wrote: > On 5/28/2024 10:48 AM, Sylvain Hubert wrote: > > ConTeXt LMTX version: 2024.05.27 18:16 > > > > Reproducible example: > > > > \definesectionlevels > > [default] > > [section, subsection, subsubsection, subsubsubsection, > subsubsubsubsection] > > > > \starttext > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stoptext > > > > lua error > lua error on line 19 in file ./input.tex: > > > > registered function call [969]: > > ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75: attempt > > to index a nil value (field '?') > > stack traceback: > > ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75: > > in function > <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:66> > > (...tail calls...) > can you test with the attached ... (remake the format) > > \starttext > \startsectionlevel[title=level 1] > \startsectionlevel[title=level 2 ] > \startsectionlevel[title=level 3] > \startsectionlevel[title=level 4] > \startsectionlevel[title=level 5] > \startsectionlevel[title=level 6] > \startsectionlevel[title=level 7] > \startsectionlevel[title=level 8] > \startsectionlevel[title=level 9] > \startsectionlevel[title=level 10 ] > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stopsectionlevel > \stoptext > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > --00000000000040e0f106199433dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I rerun `install.sh` after replacing `strc-lev.lua` and th= e error goes away. Thanks Hans!

On Tue, 28 May 2024 at 20:20, Hans Hagen <= ;j.hagen@xs4all.nl> wrote:
<= /div>
On 5/28/2024 10:48 A= M, Sylvain Hubert wrote:
> ConTeXt LMTX version: 2024.05.27 18:16
>
> Reproducible example:
>
> \definesectionlevels
> [default]
> [section, subsection, subsubsection, subsubsubsection, subsubsubsubsec= tion]
>
> \starttext
> \startsectionlevel
> \startsectionlevel
> \startsectionlevel
> \startsectionlevel
> \startsectionlevel
> \startsectionlevel
> \startsectionlevel
> \stopsectionlevel
> \stopsectionlevel
> \stopsectionlevel
> \stopsectionlevel
> \stopsectionlevel
> \stopsectionlevel
> \stopsectionlevel
> \stoptext
>
> lua error =C2=A0 =C2=A0 =C2=A0 > lua error on line 19 in file ./inp= ut.tex:
>
> registered function call [969]:
> ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75: attemp= t
> to index a nil value (field '?')
> stack traceback:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ...mtx/tex/texmf-context/tex/context= /base/mkiv/strc-lev.lua:75:
> in function <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-le= v.lua:66>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (...tail calls...)
can you test with the attached ... (remake the format)

\starttext
\startsectionlevel[title=3Dlevel 1]
=C2=A0 =C2=A0 =C2=A0\startsectionlevel[title=3Dlevel 2 ]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startsectionlevel[title=3Dlevel 3]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startsectionlevel[title=3D= level 4]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startsection= level[title=3Dlevel 5]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0\startsectionlevel[title=3Dlevel 6]
=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\startsectionlevel[title=3Dlevel 7]
=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\startsectionlevel[title=3Dlevel 8]
=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\startsectionlevel[title=3Dlev= el 9]
=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\startsectionlev= el[title=3Dlevel 10 ]
=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\stopsectionleve= l
=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\stopsectionlevel
=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\stopsectionlevel
=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\stopsectionlevel
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0\stopsectionlevel
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopsectionl= evel
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopsectionlevel
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopsectionlevel
=C2=A0 =C2=A0 =C2=A0\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stoptext


-----------------------------------------------------------------
=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=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--00000000000040e0f106199433dd-- --===============3814370731707064557== 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 ___________________________________________________________________________________ --===============3814370731707064557==--