Why TeX Breaks Lines Globally: The Engineering Bet Behind Knuth-Plass
TeX's Knuth-Plass algorithm breaks paragraphs globally, trading memory and latency for even typographic color. Here's how boxes, glue, cubic badness, and three escalating passes actually work — and how to debug them.