All Collections
Author Help
I want to use Leanpub to sell my book, but I have my own LaTeX-based writing and PDF ebook production workflow. What do I do?
I want to use Leanpub to sell my book, but I have my own LaTeX-based writing and PDF ebook production workflow. What do I do?

Can I use Leanpub to sell only a PDF that I've generated from LaTeX? Do I have to also provide EPUB?

Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

If you already have an ebook writing and PDF production workflow that you're happy with, you can upload a PDF directly using our Upload writing mode. This includes PDFs generated using LaTeX, or even those saved from Word.

With our Upload writing mode, you only need to upload at least one of PDF and
EPUB.  PDF-only is totally fine, especially if you're writing a computer programming book: PDF is still the dominant format for computer programming books. (If you were writing a novel, we'd strongly recommend uploading EPUB files.)

If you already write in LaTeX and are happy with your workflow, the Upload writing mode is definitely the best option.

If you already write in Microsoft Word, you can either upload the Word document and see if our ebook generators can handle it, or you can upload a PDF directly using the Upload writing mode. The reason we support Word, and the supported formatting for Word documents, is explained further here: https://leanpub.com/blog/2016/03/writing-leanpub-books-in-word

Finally, note that we generate our own PDFs using LaTeX that we've produced from Markdown or Markua. Leanpub depends on LaTeX.


If you have any feedback or questions about this article, please email the Leanpub team about it at hello@leanpub.com!

If you have any questions or thoughts on writing and self-publishing with Leanpub, please join our global community of authors in our Authors Forum here!

Are you interested in self-publishing, and creating your first Leanpub book? Here are some quick tutorials for our most popular writing modes: http://help.leanpub.com/en/articles/3088382-quick-walkthroughs-for-getting-started-on-a-leanpub-book

Are you looking for great deals on Leanpub ebooks, ebook bundles, and courses? Sign up for our Weekly and Monthly newsletter sales here!

Subscribe to our YouTube channel here: https://www.youtube.com/leanpub

Please subscribe to our YouTube channel here: https://www.youtube.com/leanpub

You can also follow Leanpub in lots of other places!

Did this answer your question?