Just wanted to draw attention to Booktype (AGPLv3), software for collaborative book writing. Perhaps of interest for FreedomBox in the future.
With Booktype you can create books. Real, good-looking paper books you can hold in your hands. You can also use Booktype’s output to PDF, EPUB, XML and HTML to export books ready for Amazon, iBooks, or the open web. [from: /chapter: What-Is-Booktype / Booktype 2.3 for Authors and Publishers]