Vincent, Your proposal to improve the algorithm for the placement of footnotes and before-floats sounds fine. A few comments.
'Ideally there would be a configuration setting telling which ratio of the page should be filled with normal content; if this ratio is null then pages only made of out-of-line objects would be allowed.' I think this may be split into several configuration settings: - The minimum amount of normal content on a page. - Whether float pages are allowed. Even when the minimum amount is not zero, the user may set this to true. - The minimum amount of float content on a float page before it may be considered feasible. Only relying on the normal demerits calculation for the stretch or shrink may be too restrictive. In fact, these are configuration parameters in LaTeX. Regarding the demerits for deferred out-of-line objects, a simple multiplication with the page difference produces a linear relation. This may be too weak, and a squared or steeper relation may be preferable. Regards, Simon -- Simon Pepping home page: http://www.leverkruid.eu
