SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
pdfcrop
Requires pdftex and ghostscript.
cd /usr/local/bin
wget http://mirror.its.dal.ca/ctan/support/pdfcrop/pdfcrop.pl
chmod ugo+x pdfcrop.pl
mv pdfcrop.pl pdfcrop
If pdfcrop
complains about not being able to find pdftex
, either add it's location to $PATH, or add a command-line switch such as:
--pdftexcmd /usr/local/texlive/2010/bin/i386-linux/pdftex
Example usage, to take 36 points off the left and right and 18 points off the top/bottom:
pdfcrop --margins '-36 -18 -36 -18' input.pdf output.pdf
http://chromiteblue.com/archive/platform/linux/ghostscript-and-margins/
- Log in to post comments