This function has been deprecated, since Amazon no longer provides KindleGen. Please consider using bookdown::calibre() instead if you want .mobi output.

## Usage

kindlegen(epub, exec = Sys.which("kindlegen"))

## Arguments

epub

The path to a .epub file (e.g. created from the epub_book() format). If missing, it is automatically guessed from the book configurations.

exec

The path to the executable kindlegen.

## Value

The path of the .mobi file if the conversion is successful.