Insert and Extract bookmarks from a PDF

extract_bookmarks(pdfin, bookmarks)

insert_bookmarks(pdfin, bookmarks, pdfout = pdfin)

Arguments

pdfin, pdfout

Input and Output PDFs

bookmarks

Path to a bookmarks PDF file in pdftk format or a character vector of length >1 containing bookmark text.

Value

location of pdftk bookmark file

location of modified PDF

See also