I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something before?

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