[OS X TeX] pdf compare

Berend Hasselman bhh at xs4all.nl
Sun Feb 27 02:11:37 EST 2011


On 27-02-2011, at 07:00, George Gratzer wrote:

> This is certainly beyond my technical abilities...
> 
> GG
> 
> On 2011-02-27, at 12:51 AM, M. Tamer Özsu wrote:
> 
>> I think pdfdiff can do what you want -- it may be worth a try:
>> 
>> http://people.inf.ethz.ch/cremersc/misc/pdfdiff.html

In response to a query I made recently on this list about finding out the fonts used in a pdf,
Michael Ummels sent a link to a disk image with the xpdf tools.

The link is:
 http://users.phg-online.de/tk/MOSXS/xpdf-tools-3.dmg

A utility pdftotext amongst others will be installed in /usr/local/bin.
Just run the installer.

I have just tried to run pdfdiff.py and it works on my Mac OS X 10.6.6 provided you specify
the diff program to use (if you don't it tries to find a diff but appears to hang).

./pdfdiff.py -d opendiff  A.pdf B.pdf

You need to have Xcode installed. And make pdfdiff.py executable with chmod +x pdfdiff.py.
If you don't have that, try -d diff instead.
All of this in Terminal!

Berend


More information about the MacOSX-TeX mailing list