Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Convert Latex to EPUB
- latexml --dest=$1.xml $1.tex
- latexmlpost -dest=$1.html $1.xml
- ebook-convert $1.html $1.epub --language en --no-default-epub-cover
- It makes use of latexml and ebook-converter (the command line tool that comes with calibre). This works very well with lots of formulas. Once mathML is encoded in newer epub versions things will even get prettier by using latexmlpost -dest=$1.xhtml $1.xml instead of the second line of my script.
- http://tex.stackexchange.com/questions/1551/use-latex-to-produce-epub
- Converting using no UTF-8
- latexml --inputencoding=ISO8859-1 --includestyles --dest=book.xml sample-bookchapter.tex
- latexmlpost -dest=book.html book.xml
- ebook-convert book.html book.epub --language pt --no-default-epub-cover
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement