Heavily hacked version of DiffPDF (http://www.qtrac.eu/diffpdf.html) to make it automatable via the command line