Convert EPS images to PDF while performing psfrag replacements.