R: A wrapper for rst2pdf

rst2pdf {knitr} | R Documentation

## A wrapper for rst2pdf

### Description

Convert reST to PDF using `rst2pdf` (which converts from rst to PDF using the ReportLab open-source library).

### Usage

    rst2pdf(input, command = "rst2pdf", options = "")

### Arguments

`input` | the input rst file
`command` | a character string which gives the path of the `rst2pdf` program (if it is not in PATH, the full path has to be given)
`options` | extra command line options, e.g. `'-v'`

### Value

An input file ‘*.rst’ will produce ‘*.pdf’ and this output filename is returned if the conversion was successful.

### Author(s)

Alex Zvoleff and Yihui Xie

### References

https://github.com/rst2pdf/rst2pdf

### See Also

`knit2pdf`

[Package knitr version 1.16 Index]