Skip to content

Instantly share code, notes, and snippets.

@xPMo
Created February 5, 2018 17:55
Show Gist options
  • Save xPMo/f0771e767f8a3d8157f861ba342da67c to your computer and use it in GitHub Desktop.
Save xPMo/f0771e767f8a3d8157f861ba342da67c to your computer and use it in GitHub Desktop.
" removed the first page from a pdf with pdftk, but you want to keep the outline?
" change the info file like this:
% s/Number: \(\d\d*\)/\="Number: " . submatch(1)-1/
" You still need to go through and remove (what is now) page 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment