1

I would like to take an existing pdf and make it's right size wider (add white space), so that I can add my own hand-drawn annotations to it with my graphics tablet (loaded in Xournal++).

So far I found a way to do it via pdfcrop:

pdfcrop --margin '0 0 400 0' in.pdf out.pdf

But I lose the outline/bookmark section on the right.

Does anyone know of a way?
(A linux app/cmd is preferred, but I'd be open to exploring online or windows/osx tools if anyone knows..).

1

[By author]

After much research [1], I found a tool that works on Linux. It's free to try but I think it needs a 50$ license. I was able to use it to add a margin to my pdf and preserve the outline.

I have not been able to find a free tool. If someone does find one, please feel free to post an additional answer and I'd be happy to try it out.

If of help to anyone stumbling into the same problem, the tool I've used is Master pdf editor:

https://code-industry.net/masterpdfeditor/

Document -> Page Layout -> 'width'.

(On RHEL/Fedora I had to install qt5-qtsvg library to get it to work.).

[1] Linux tools I've tried:
(as per https://www.tecmint.com/best-pdf-page-cropping-tools-for-linux/)

  • Briss - can't expand margin, only shrink.
  • pdfcrop - can expand, but looses table of content (as described by question).
  • Pdf Shuffler - doesn't crop, only re-arrange/delete pages.
  • Evince/Okular - Don't seem to have the ability to edit page layout/crop.
  • pdf-quench - couldn't get it to work.
  • KCrop - Can make a page smaller, but not bigger.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.