1. A non-transitory machine readable medium storing a program that when executed by at least one processing unit provides a user interface (UI), the UI comprising: a display area for displaying pages of a book; and a publishing tool for preparing the book for publication to a content publisher by (i) analyzing book to identify errors that prevents the book from being published, and (ii) exporting the book for publication when the book does not contain the errors.