Skip to content

Instantly share code, notes, and snippets.

@jklymak
Last active July 15, 2018 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jklymak/9642de2c1282c5c45705cb9f17ff959c to your computer and use it in GitHub Desktop.
Save jklymak/9642de2c1282c5c45705cb9f17ff959c to your computer and use it in GitHub Desktop.
Merge pdfs with bookmarks!
0 "Cover Page" 1 open
0 "Nomination Letter" 2
0 "Referee Letters" 3
1 "Writer 1" 3
1 "Writer 2" 5
0 "CV" 7
1 "Education and Training" 7
1 "Degrees" 7
1 "Postdoctoral experience" 7
1 "Academic positions" 7
1 "Major fields of Scholarly Interest" 7
1 "Research Grants and Fellowships" 7
1 "Research Operating Grants" 7
1 "Equipment Grants" 7
1 "Honours, Fellowships and Scholarships" 7
1 "Publications and Presentations" 8
1 "Bibliometric information" 8
1 "Articles in peer reviewed journals" 8
1 "Student authors marked (A. Student*)." 8
1 "Service and Professional Activities" 12
1 "Other Activities" 14
~/bin/cpdf -merge CoverPage.pages.pdf BooHoo17.pdf Lett1.pdf Lett2.pdf cv_Feb2017.pdf -o Combined.pdf
~/bin/cpdf -add-bookmarks bookmarks.txt Combined.pdf -o BooHoo17.pdf
@PacoH
Copy link

PacoH commented Jul 15, 2018

Thanks. Very helpful. The docs for this are poor. Does 'open' make the pdf open at a page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment