ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Defining new float types fails in LMTX
@ 2021-11-30 14:51 Marco Patzer via ntg-context
  2021-12-10 15:00 ` Marco Patzer via ntg-context
  2021-12-25  9:20 ` Marco Patzer via ntg-context
  0 siblings, 2 replies; 7+ messages in thread
From: Marco Patzer via ntg-context @ 2021-11-30 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Defining new float types fails in LMTX
  2021-11-30 14:51 Defining new float types fails in LMTX Marco Patzer via ntg-context
@ 2021-12-10 15:00 ` Marco Patzer via ntg-context
  2021-12-10 16:01   ` Hans Hagen via ntg-context
  2021-12-25  9:20 ` Marco Patzer via ntg-context
  1 sibling, 1 reply; 7+ messages in thread
From: Marco Patzer via ntg-context @ 2021-12-10 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Tue, 30 Nov 2021 15:51:24 +0100
Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:

> 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 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Defining new float types fails in LMTX
  2021-12-10 15:00 ` Marco Patzer via ntg-context
@ 2021-12-10 16:01   ` Hans Hagen via ntg-context
  2021-12-10 17:22     ` Marco Patzer via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen via ntg-context @ 2021-12-10 16:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 12/10/2021 4:00 PM, Marco Patzer via ntg-context wrote:
> On Tue, 30 Nov 2021 15:51:24 +0100
> Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:
> 
>> 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 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
no example code

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Defining new float types fails in LMTX
  2021-12-10 16:01   ` Hans Hagen via ntg-context
@ 2021-12-10 17:22     ` Marco Patzer via ntg-context
  2022-01-16 15:53       ` Marco Patzer via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Patzer via ntg-context @ 2021-12-10 17:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Fri, 10 Dec 2021 17:01:26 +0100
Hans Hagen <j.hagen@xs4all.nl> wrote:

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Defining new float types fails in LMTX
  2021-11-30 14:51 Defining new float types fails in LMTX Marco Patzer via ntg-context
  2021-12-10 15:00 ` Marco Patzer via ntg-context
@ 2021-12-25  9:20 ` Marco Patzer via ntg-context
  1 sibling, 0 replies; 7+ messages in thread
From: Marco Patzer via ntg-context @ 2021-12-25  9:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Tue, 30 Nov 2021 15:51:24 +0100
Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:

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

Short followup: This issue is still present in 2021.12.25 00:55.

Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Defining new float types fails in LMTX
  2021-12-10 17:22     ` Marco Patzer via ntg-context
@ 2022-01-16 15:53       ` Marco Patzer via ntg-context
  2022-01-18 15:09         ` Marco Patzer via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Patzer via ntg-context @ 2022-01-16 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Fri, 10 Dec 2021 18:22:46 +0100
Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:

> On Fri, 10 Dec 2021 17:01:26 +0100
> Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> > no example code  
> 
> The MWE was included in the OP on 2021-10-30. But here it is again:

Still an issue with 2022.01.15 17:29.

Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Defining new float types fails in LMTX
  2022-01-16 15:53       ` Marco Patzer via ntg-context
@ 2022-01-18 15:09         ` Marco Patzer via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Marco Patzer via ntg-context @ 2022-01-18 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Sun, 16 Jan 2022 16:53:16 +0100
Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:

> Still an issue with 2022.01.15 17:29.

Fixed as of 2022.01.18 10:48. Thanks Hans.

Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-01-18 15:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 14:51 Defining new float types fails in LMTX Marco Patzer via ntg-context
2021-12-10 15:00 ` Marco Patzer via ntg-context
2021-12-10 16:01   ` Hans Hagen via ntg-context
2021-12-10 17:22     ` Marco Patzer via ntg-context
2022-01-16 15:53       ` Marco Patzer via ntg-context
2022-01-18 15:09         ` Marco Patzer via ntg-context
2021-12-25  9:20 ` Marco Patzer 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).