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?
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.
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.
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.
You can convert LaTeX to XHTML and then convert XHTML to EPUB.
Pandoc can do this directly -- http://johnmacfarlane.net/pandoc/ It's a great command-line tool.
pandoc -s example4.tex -o example4.epub
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With