Formula for comparepdf 1.0.1.

Very similar to diffpdf, from the same author.