Dear list,

My goal is to generate a PDF/A-conformant document using ConTeXt.
I’m encountering the same error as Sylvain with version 2024.06.21 23:45 on macOS.

Sample file:

\setupbackend[export=yes]

\starttext
a
\chapter{b}
$c$
\stoptext

I remember my actual document compiling without errors in December 2023.

Is anybody else running into this issue? Were you able to solve it?
Any help would be highly appreciated!

Best wishes,
Jacob Kauffmann

Am 29.05.2024 um 16:27 schrieb Sylvain Hubert <champignoom@gmail.com>:

ConTeXt LMTX version: 2024.05.27 18:16

Sample tex file:

\setupbackend[export=yes]

\starttext
x
\startsectionlevel
\startitemize
\item
\startitemize
\item
\startitemize
\item
\stopitemize
\stopitemize
\stopitemize
\stopsectionlevel

\stoptext

Error log:

tex error       > tex error on line 1 in file ./input.tex:
lua error:
        registered function call [252]: ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1426: attempt to get length of a nil value (local 'td')
stack traceback:
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1426: in upvalue 'pushcontent'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1597: in upvalue 'collectresults'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1867: in upvalue 'collectresults'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1867: in upvalue 'collectresults'
.....
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1867: in upvalue 'collectresults'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1969: in upvalue 'nodes_handlers_export'
        [string "local tonut  = nodes.tonut..."]:27: in function <[string "local tonut  = nodes.tonut..."]:12>
        (...tail calls...)
        ...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in function <...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37>
        (...tail calls...)

 1 >>  \setupbackend[export=yes]
 2    
 3     \starttext
 4     x
 5     \startsectionlevel
 6     \startitemize
 7     \item
 8       \startitemize
 9       \item
10         \startitemize
11         \item
mtx-context     | fatal error: return code: 1
___________________________________________________________________________________
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
___________________________________________________________________________________