Skip to content

Retaining bookmarks when pages are removed #67

@stevechoy

Description

@stevechoy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions