Skip to content

Commit

Permalink
roxygenize
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Apr 11, 2016
1 parent 38d4292 commit f621bb1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export(bookdown_site)
export(build_chapter)
export(calibre)
export(clean_book)
export(epub_book)
export(gitbook)
Expand Down
25 changes: 25 additions & 0 deletions man/calibre.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
% Please edit documentation in R/ebook.R
\name{calibre}
\alias{calibre}
\title{A wrapper function to convert e-books using Calibre}
\usage{
calibre(input, output, options = "")
}
\arguments{
\item{input}{The input filename.}

\item{output}{The output filename or extension (if only an extenion is
provided, the output filename will be the input filename with its extension
replaced by \code{output}; for example, \code{calibre('foo.epub', 'mobi')}
generates \file{foo.mobi}).}

\item{options}{A character vector of additional options to be passed to
\command{ebook-convert}.}
}
\value{
The output filename.
}
\description{
This function calls the command \command{ebook-convert} in Calibre
(\url{http://calibre-ebook.com}) to convert e-books.
}

0 comments on commit f621bb1

Please sign in to comment.