knitr (version 1.17)

rst2pdf: 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.

References

https://github.com/rst2pdf/rst2pdf

See Also

knit2pdf