ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sylvain Hubert <champignoom@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: lua error in `strc-lev.lua`
Date: Wed, 29 May 2024 17:15:55 +0800	[thread overview]
Message-ID: <CACNy3NBC9qngaRKa5xad_9_txkEwePSrXvc_GHYwrA1u2m6GeA@mail.gmail.com> (raw)
In-Reply-To: <0e19909b-03c3-45f4-944c-b882f15f38f5@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2681 bytes --]

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 <j.hagen@xs4all.nl> 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 3687 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2024-05-29  9:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28  8:48 [NTG-context] " Sylvain Hubert
2024-05-28  9:08 ` [NTG-context] " Denis Maier via ntg-context
     [not found] ` <0e19909b-03c3-45f4-944c-b882f15f38f5@xs4all.nl>
2024-05-29  9:05   ` Sylvain Hubert
2024-05-29  9:16     ` Henning Hraban Ramm
2024-05-29 10:36       ` Henning Hraban Ramm
2024-05-29  9:22     ` Hans Hagen
2024-05-29  9:15   ` Sylvain Hubert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACNy3NBC9qngaRKa5xad_9_txkEwePSrXvc_GHYwrA1u2m6GeA@mail.gmail.com \
    --to=champignoom@gmail.com \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).