forked from rstudio/bookdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkindlegen.Rd
24 lines (23 loc) · 840 Bytes
/
kindlegen.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ebook.R
\name{kindlegen}
\alias{kindlegen}
\title{A wrapper function to convert EPUB to the Mobipocket format}
\usage{
kindlegen(epub, exec = Sys.which("kindlegen"))
}
\arguments{
\item{epub}{The path to a \code{.epub} file (e.g. created from the
\code{\link{epub_book}()} format). If missing, it is automatically guessed
from the book configurations.}
\item{exec}{The path to the executable \command{kindlegen}, which can be
downloaded from
\url{http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211}.}
}
\value{
The path of the \file{.mobi} file if the conversion is successful.
}
\description{
This function simply calls the command line tool \command{kindlegen} provided
by Amazon to convert EPUB e-books to the Mobipocket format (\file{.mobi}).
}