Andrés Romero Mier y Terán

Contact  | LinkedIn  | Twitter  | Github  | CV  | Demos  | Publications  | Teaching  | Gallery  | Links

Math documents for Kindle using Pandoc

Jun 2014

mkdir myfile-images #Create folder to store eqs images
    pandoc -s --gladtex <> -o <htex_file.htex>
    gladtex -d myfile-images <htex_file.htex>
    pandoc --epub-metadata=metadata.xml -f html -t epub3 <html_file.html> -o <epub_file.epub>

where metadata.xml contains

<dc:rights>Creative Commons Non-Commercial Share Alike 3.0</dc:rights>

and finally convert from epub3 to mobi

ebook-convert <epub_file.epub> <>

blog comments powered by Disqus