Extract the first page of a PDF file.
Store this page as cover.pdf at path.
Also convert it to cover.png.
Usage
prepare_cover(input, path = ".")
Arguments
- input
Link to the PDF file which first becomes the cover.
- path
the path to the index.Rmd of the bookdown report.
See also
Other utils:
add_author(),
add_report_numbers(),
check_dependencies(),
column_start(),
column_width(),
cover_info(),
create_report(),
dyn_table(),
inbo_website(),
references(),
render_natbib(),
validate_doi()