Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I create with LaTeX documents in the EPUB-format?

Tags:

latex

tex

epub

Is it possible to create a document for an ebook-reader in the EPUB-format with LaTeX/TeX? Which extension or program can be used?

like image 472
Mnementh Avatar asked Aug 13 '09 18:08

Mnementh


People also ask

How to create EPUB with LaTeX?

To get ePub, you can download the LaTeX source from writeLaTeX and run it through a format conversion tool, such as htlatex to get HTML, and then go from HTML to ePub with a tool like Sigil or Calibre. See this thread on Stack Overflow for more advice.

What elements do EPUB files support?

The EPUB format provides a means of representing, packaging and encoding structured and semantically enhanced Web content — including HTML, CSS, SVG and other resources — for distribution in a single-file container. This specification represents the second major revision of the standard.

What type of files are EPUB?

EPUB is an e-book file format that uses the ".epub" file extension. The term is short for electronic publication and is sometimes styled ePub. EPUB is supported by many e-readers, and compatible software is available for most smartphones, tablets, and computers.


2 Answers

You can convert LaTeX to XHTML and then convert XHTML to EPUB.

like image 164
Alexey Romanov Avatar answered Sep 23 '22 08:09

Alexey Romanov


Pandoc can do this directly -- http://johnmacfarlane.net/pandoc/ It's a great command-line tool.

pandoc -s example4.tex -o example4.epub

like image 40
William Hayes Avatar answered Sep 26 '22 08:09

William Hayes