This is a nice post; a few comments:<p>* TeX's boxes-and-glue-and-penalties model is remarkably simple and flexible, as the author says. I've long been planning to write a post about this; the Knuth–Plass paper has some beautiful examples of how much you can cleverly achieve with such simple primitives. Really a model of elegance.<p>* This simplicity allows some ingenious solutions. With TeX (especially LuaTeX) one <i>can</i> do things that require knowledge of where on what page a paragraph is on: see for example this "demo" of mine: <a href="https://tex.stackexchange.com/a/403353" rel="nofollow">https://tex.stackexchange.com/a/403353</a> — of course one is fighting the system to some extent, but it is possible.<p>* Of the three “Challenges” it discusses, the first two “Varying container width” and “Side-floating elements” are both examples of things that are possible in TeX with caveats (parshape and wrapfig), but currently not possible in Typst — would be nice to see those limitations removed in Typst in a clean way.<p>* In the TeX world, note that there is Martin Ruckert's ongoing HINT project, which moves some of the TeX layout to the client (custom viewer), and thus supports arbitrarily varying widths (really cool to read a hint "book" on a phone): <a href="https://hint.userweb.mwn.de/#:~:text=TEX-,HINT,-%2C%20following%20a%20tradition" rel="nofollow">https://hint.userweb.mwn.de/#:~:text=TEX-,HINT,-%2C%20follow...</a> (demo videos here: <a href="https://hint.userweb.mwn.de/hint/video/" rel="nofollow">https://hint.userweb.mwn.de/hint/video/</a> and articles in TUGboat: <a href="https://tug.org/TUGboat/Contents/listauthor.html#Ruckert,Martin" rel="nofollow">https://tug.org/TUGboat/Contents/listauthor.html#Ruckert,Mar...</a> )<p>On the whole, happy to see this post and that more attention is getting paid to text layout.