News for hackers. Stuff that matters.
Re:Using Web Technologies to Print a Book by trynewideas on Wednesday January 09, 2019 @11:50PM (#18871618)
Apache FOP[1] does[2] if you're willing to jump back in time to XHTML or use an HTML2FO converter.

As always, Unicode is a problem.

1: https://xmlgraphics.apache.org/fop/

2: https://xmlgraphics.apache.org/fop/0.95/hyphenation.html

cf. https://wiki.apache.org/xmlgraphics-fop/HowTo/HtmlToPdf

Re:Using Web Technologies to Print a Book by sanxiyn on Wednesday January 09, 2019 @11:52PM (#18871628)
That's Knuth-Liang hyphenation, which is something different from Knuth-Plass line breaking.
Re:Using Web Technologies to Print a Book by trynewideas on Wednesday January 16, 2019 @08:35PM (#18927547)
Oh, good catch, sorry about that.

Simon Pepping did some work done on Knuth-Plass in FO, but it's old and probably not quite as relevant now:

- https://web.archive.org/web/20070114211331/http://www.leverk...

- https://web.archive.org/web/20070128145517/http://www.leverk...