| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/utils-conversion.R |
| 3 |
\name{rst2pdf} |
| 4 |
\alias{rst2pdf} |
| 5 |
\title{A wrapper for rst2pdf} |
| 6 |
\usage{ |
| 7 |
rst2pdf(input, command = "rst2pdf", options = "") |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{input}{The input rst file.} |
| 11 |
|
| 12 |
\item{command}{Character string giving the path of the |
| 13 |
\command{rst2pdf} program. If the program is not in your PATH, the full path has to be |
| 14 |
given here.} |
| 15 |
|
| 16 |
\item{options}{Extra command line options, e.g. \code{'-v'}.} |
| 17 |
} |
| 18 |
\value{ |
| 19 |
An input file \file{*.rst} will produce \file{*.pdf} and this output |
| 20 |
filename is returned if the conversion was successful. |
| 21 |
} |
| 22 |
\description{ |
| 23 |
Convert reST to PDF using \command{rst2pdf} (which converts from rst to PDF |
| 24 |
using the ReportLab open-source library). |
| 25 |
} |
| 26 |
\references{ |
| 27 |
\url{https://github.com/rst2pdf/rst2pdf} |
| 28 |
} |
| 29 |
\seealso{ |
| 30 |
\code{\link{knit2pdf}} |
| 31 |
} |
| 32 |
\author{ |
| 33 |
Alex Zvoleff and Yihui Xie |
| 34 |
} |