Defining new float types fails in LMTX

Hi! Apologies for spamming this list with my all the floaty stuff. There's an issue with defining new floats in LMTX in combination with bottom placement. The following works in MkIV, but throws an error in LMTX: I'm ignoring this; it doesn't match any \if. mtx-context | fatal error: return code: 256 \setupfloat [figure] [default=bottom] %% fails %% [default=top] %% works \definefloat [foo] [foos] [figure] \starttext \startplacefigure [title=Foo] \framed{Foo} \stopplacefigure \startplacefoo [title=Bar] \framed{Bar} \stopplacefoo \stoptext Marco LMTX 2021.11.26 11:38

On Tue, 30 Nov 2021 15:51:24 +0100
Marco Patzer via ntg-context
I don't know if the error changed or if I copied the wrong error message in the OP, but a current LMTX throws: close source > level 1, order 2, name './t.tex' (\end occurred when parameter character luatex warning > print: bad string offset was incomplete)error (nodes): attempt to double-free glue node 2986, ignored LMTX 2021.12.10 11:29 Marco

On 12/10/2021 4:00 PM, Marco Patzer via ntg-context wrote:
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------

On Fri, 10 Dec 2021 17:01:26 +0100
Hans Hagen
no example code
The MWE was included in the OP on 2021-10-30. But here it is again: \setupfloat [figure] [default=bottom] %% fails %% [default=top] %% works \definefloat [foo] [foos] [figure] \starttext \startplacefigure [title=Foo] \framed{Foo} \stopplacefigure \startplacefoo [title=Bar] \framed{Bar} \stopplacefoo \stoptext Marco
participants (2)
-
Hans Hagen
-
Marco Patzer