Literature and Links
Line Breaking
Donald E. Knuth, Digital Typography, http://www.amazon.com/exec/obidos/tg/detail/-/1575860104/
Page Breaking
Plass, Michael Frederick: Optimal Pagination Techniques for Automatic Typesetting Systems, http://wwwlib.umi.com/dissertations/fullcit/8124134
Brüggemann-Klein, Klein, Wohlfeil, On the Pagination of Complex Documents, http://www.pi6.fernuni-hagen.de/publ/tr234.pdf
Brüggemann-Klein, Klein, Wohlfeil, Pagination Reconsidered, http://www.pi6.fernuni-hagen.de/publ/tr205.pdf
University of Bonn, Research on Pagination: http://web.informatik.uni-bonn.de/I/research/Pagination/
A collection of paper on the topic: http://www.le-hacker.org/hacks/pagination/