Sphinx can output Latex for printing to PDF. We'd just need the source.
BTW, excellent refresher for statistical screw-ups, I had forgotten a quarter of these (and never learned the rest.)
I don't accept donations, but sign up with your email and I'll let you know when you can pay me for a copy.
I'm writing using reStructuredText and Sphinx because they give me a bibliography, an index, full-text search, cross-referencing, custom environments (e.g. boxes for examples, tips, etc.), and all sorts of other cool features. For example, if I needed matplotlib plots, I can embed the code in my documents and Sphinx will generate them.
I'd immediately put the book on Leanpub if I could get some of these features. A Leanpub using a customized Sphinx would be incredibly useful for people writing textbooks.