How to Create and Publish an E-Book Using Sphinx (The Book + Leanbook Template)
How to Create and Publish an E-Book Using Sphinx
A Step-by-Step Guide by Vimalkumar Velayudhan
About the Book
- Do you wish to create and publish an e-book?
- Do you use a Linux desktop?
- Are you willing to learn basic reStructuredText?
If you answered yes to all those questions, then this book is for you!
In 5 steps, I will walk you through the process of creating and building an EPUB 3 format e-book, which you can publish on 15+ digital book stores, including Leanpub, Draft2Digital (Apple Books, Barnes & Noble, Kobo, and more), and Amazon KDP.
To save you time, this book includes “Leanbook” — a quick-start Sphinx project template as a downloadable zip file.
With Leanbook, you get 3 font themes, live-preview, sample copyright page and a glossary, a book cover template, and more.
If you are new to reStructuredText, you can consult the sample chapters in Leanbook. For a step-by-step approach, you can get my beginner’s guide: “reStructuredText for Sphinx”.
Bundles that include this book
Table of Contents
- About this book
- The 5 steps
- What you will need
- Quick-start template
- Step 1. Install software
- 1.1 Install using Software Manager
- 1.2 Install using the command line (optional)
- Step 2. Create book
- 2.1 Download template
- 2.2 Run the setup command
- 2.3 Preview the book
- 2.4 Configure the book
- Step 3. Write content
- 3.1 Add a new chapter
- 3.2 Organize chapters
- 3.3 Fix syntax errors
- Step 4. Build EPUB
- 4.1 Add a cover image
- 4.2 Make an EPUB file
- 4.3 Check the quality of EPUB
- Step 5. Publish your e-book
- 5.1 Publish on Leanpub
- 5.2 Publish on Draft2Digital
- 5.3 Publish on Amazon KDP
- Appendix
- A. Resources
- B. Software versions
- C. Other Linux distributions
- D. Fix non-standard font messages
- E. Create a Sphinx project
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them