ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] lua error in `back-exp.lmt`
@ 2024-05-29 14:27 Sylvain Hubert
  2024-07-31 16:01 ` [NTG-context] " Jacob Kauffmann via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Sylvain Hubert @ 2024-05-29 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

[-- Attachment #1.2: Type: text/html, Size: 2981 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [NTG-context] Re: lua error in `back-exp.lmt`
  2024-05-29 14:27 [NTG-context] lua error in `back-exp.lmt` Sylvain Hubert
@ 2024-07-31 16:01 ` Jacob Kauffmann via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Jacob Kauffmann via ntg-context @ 2024-07-31 16:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jacob Kauffmann


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

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


[-- Attachment #1.2: Type: text/html, Size: 5337 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-31 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29 14:27 [NTG-context] lua error in `back-exp.lmt` Sylvain Hubert
2024-07-31 16:01 ` [NTG-context] " Jacob Kauffmann via ntg-context

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