General ⇒ What's the best way to trim margins from a PDF?
What's the best way to trim margins from a PDF?
I'd like to remove those margins, so the pdfcrop utility (part of Texlive) would seem to be perfect if not for one huge flaw. pdfcrop disables the contents links so the output document can no longer be navigated from the contents page, which makes navigating a 300 page PDF a non-starter. (pdfcrop tested on Debian Jessie.)
Does anybody know of some command line tweak that would stop pdfcrop from disabling the contents links? Or can anybody recommend other ways to remove margins from a PDF? Or does anybody know of a PDF viewer app for an Android tablet that can automatically crop margins as the page is viewed? Any help would be appreciated.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Solved: What's the best way to trim margins from a PDF?
With more Google searching, I found a cross-platform Java-based too called "Briss" that crops margins from PDFs. It was quite glitchy, turned other apps on the screen to funny colours, and when it saved the output file it then launched the Gimp graphics editor for no good reason. But the main thing is that it generates good output files, which were just what I wanted.
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Re: What's the best way to trim margins from a PDF?
welcome to the forum!
I use pdfcrop a lot. I did not notice yet the issue with the hyperlinks, since I used it either for print or for cropping images for embedding them with LaTeX.
Thanks for telling us about Briss!
Stefan