Hi,
Currently bookmarks disappear after using remove_pages() . I've tried to look into alternatives like the xmpdf package to extract bookmarks, but the default method from xmpdf::get_bookmarks() did not work well - the pages numbers are not extracted. I see from xmpdf that there is a pdftk wrapper that can be used which could retain page numbers, i.e. xmpdf::get_bookmarks_pdftk(), however my system failed with the following message:
Sys.setenv(PDFTK_PATH = "/path/to/pdftk")’ if installed but not detected on PATH
Does staplr install a local copy of pdftk in the system which I can define in the PDFTK_PATH as above? If not, are there plans for better bookmark support?
Hi,
Currently bookmarks disappear after using
remove_pages(). I've tried to look into alternatives like thexmpdfpackage to extract bookmarks, but the default method fromxmpdf::get_bookmarks()did not work well - the pages numbers are not extracted. I see fromxmpdfthat there is apdftkwrapper that can be used which could retain page numbers, i.e.xmpdf::get_bookmarks_pdftk(), however my system failed with the following message:Sys.setenv(PDFTK_PATH = "/path/to/pdftk")’ if installed but not detected on PATHDoes
staplrinstall a local copy of pdftk in the system which I can define in thePDFTK_PATHas above? If not, are there plans for better bookmark support?