"publishing toolchain happiness"

bookshop is an open source agile book publishing framework for publishers, editors, and coders in today's publishing industry. bookshop provides a framework for developing books using well-known web languages like HTML/CSS, which are then converted into pdf and other (e)book formats. The framework is optimized to help developers quickly ramp-up, allowing them to jump in and develop their html-to-pdf/(e)book flows, by favoring convention over configuration, setting them up with best-practices, standards and tools from the start.

Bookshop is packaged for installation as a Rubygem. So installation is as easy as "gem install bookshop".

For detailed installation instructions, click here.

If you already have Ruby installed on your system, you can simply install Bookshop with the following steps:

$ gem install bookshop (installs bookshop)

$ bookshop new my_new_book (creates a new book)

(Download and install PrinceXML: http://www.princexml.com/download/)

$ bookshop build pdf (builds a pdf version of your book)

 

Here's an example book (HTML) (PDF) (EPUB/iBook/iPad) (MOBI/Kindle) (Source)