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

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