extract_pdf: Extract pages from a PDF to new PDF(s)

Description Usage Arguments Author(s) See Also Examples

View source: R/pdftk.r

Description

Extract pages from a PDF to new PDF(s)

Usage

1
2
3
4
5
extract_pdf(pdfin, pages, pdfout, prefix = NULL, DryRun = F,
  gscomp = FALSE, bookmarks = NULL)

extractpdf(pdfin, pages, pdfout, prefix = NULL, DryRun = F,
  gscomp = FALSE, bookmarks = NULL)

Arguments

pdfin, pdfout

Path to input and output PDF

pages

Integer vector or list. If named, the names specify output files

prefix

a prefix to add to the start of all output PDF file names

DryRun

Just say what would happen (when TRUE)

gscomp

Compress with ghostscript

bookmarks

Bookmarks info file (pdftk format) that can be used to add bookmarks to the output PDF

Author(s)

jefferis

See Also

gscompress

Examples

1
2
3
4
5
6
7
## Not run: 
aux='/path/to/myfile.aux'
pdffile='/path/to/myfile.pdf'
figurepages=findfigs(aux)
extract_pdf(pdffile,figurepages,prefix='LastAuthor_',gscomp=TRUE)

## End(Not run)

jefferis/paperutils documentation built on Sept. 20, 2019, 10:20 a.m.