Closed u-fischer closed 8 months ago
Shorter example in 2023
\DocumentMetadata{testphase=phase-I}
\documentclass{article}
\usepackage[abovefloats]{footmisc}
\raggedbottom
\begin{document}
Text, footnotes\footnote{A}
\newpage
blub
\end{document}
\makeatletter
\ExplSyntaxOn
\cs_set:Npn \@kernel@before@cclv{
\__tag_check_typeout_v:n {====> In \token_to_str:N
\@makecol \c_space_tl \the \c@page }
\__tag_add_missing_mcs_to_stream:Nn \@outputbox %<-- alter this box
{main}}
\ExplSyntaxOff
\def \@makecol {%
\setbox\@outputbox \box\@cclv
\showbox\@outputbox
\@outputbox@removebskip
\@kernel@before@cclv % <--- here instead (and name now wrong)
\showbox\@outputbox
\let\@elt\relax
\xdef\@freelist{\@freelist\@midlist}%
\global \let \@midlist \@empty
\@makecol@appendblocks
\ifvbox\@kludgeins
\@makespecialcolbox
\else
\@makenormalcolbox
\fi
\global \maxdepth \@maxdepth
}
\makeatother
resolved in current LaTeX.
The code to attach missing mc-commands to the page looses the \vfill needed to push the footnote to the top if a \newpage follows:
The correct output should be