This function simply calls the command line tool kindlegen
provided
by Amazon to convert EPUB e-books to the Mobipocket format (.mobi
).
kindlegen(epub, exec = Sys.which("kindlegen"))
The path to a .epub
file (e.g. created from the
epub_book()
format). If missing, it is automatically guessed
from the book configurations.
The path to the executable kindlegen
, which can be
downloaded from
http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211.
The path of the .mobi
file if the conversion is successful.