I still rely in all my installations on this bit at the bottom to be in cont-new.mkxl.
Is there a way to make this patch update-safe?

There are comments in ./tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl:
%D This file is loaded at runtime, thereby providing an excellent place for hacks,
%D patches, extensions and new features. There can be local overloads in cont-loc
%D (which has always been the case) and experimental code in cont-exp (which is also
%D so old that I need to remind myself to check it occasionally, so here is the
%D reminder).
I tried the mentioned local overload methods but didn't get them to work.
Did I mess up somehow or is the comment above outdated?
Are there any better ways - update-safe though?

Thanks a lot, Werner


Am 23.04.21 um 21:28 schrieb Hans Hagen:
You can put this on cont-new.mkxl as test:

\unprotect

\defcsname\??xtableflushsplit\v!repeat\endcsname
  {\doloop
     {\clf_x_table_flush
        method {\v!split}%
        height \ifdim\pagegoal=\maxdimen\textheight\else\dimexpr\pagegoal-\pagetotal\relax\fi
      \relax
      \ifcase\c_tabl_x_state
        \exitloop
      \else
        \page
      \fi}}

\protect