News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about build systems (2012) by CJefferson on Saturday July 18, 2020 @04:19PM (#23884503)
I think this is an impossible problem to fix -- inserting page numbers into a document can change formatting enough to cause things to move to a different page.

There are LaTeX documents which never reach a fixed point (I've made one by accident exactly once), and need slight adjustment.

Re:Falsehoods programmers believe about build systems (2012) by amelius on Saturday July 18, 2020 @05:10PM (#23884886)
Then "iteratively computing a fixed point by simply rerunning the formatter from scratch" is not a solution to the problem.

Actually I think you can do it iteratively by never decreasing the space occupied by an element between iterations. Of course this might yield ugly results but at least it halts with a solution.