Pandoc

by Daniel Pimentel — Thu 04 April 2013

Pandoc is a free and open-source software document converter, widely used as a writing tool and as a basis for publishing workflows. Pandoc's most thoroughly supported file format is an extended version of Markdown, but it can also read many other forms of lightweight markup language, HTML, ReStructuredText, LaTeX, OPML, Org-mode, DocBook, and Office Open XML (Microsoft Word .docx). It can be used to create files in many more formats, including Office Open XML, OpenDocument, HTML, Wiki markup, InDesign ICML, web-based slideshows, ebooks, OPML, and various TeX formats (through which it can produce a PDF). It has built-in support for converting LaTeX mathematical equations to MathML and MathJax, among other formats

Shell

pandoc book.tex -o book.epub
Pandoc
2000-2016 by Daniel Pimentel under GFDL