When using \processdelayedfloats with the endfloat package, a float may go missing, such as in this MWE:
\documentclass{article}
\usepackage{endfloat}
\begin{document}
\begin{figure}
This float will be missing!
\end{figure}
Text before all floats.
\processdelayedfloats
Text after all floats.
\end{document}
Is this known and/or intended?
\immediate \protected@writeto write the floats to the external file, but this doesn't make sense as the\immediatehas no effect on the\protected@write. As\processdelayedfloatscloses the file also with\immediatethe file is closed before the floats have been written. – Ulrike Fischer Jan 31 '19 at 13:08endfloat.) – Feb 01 '19 at 08:38