[OS X TeX] EPS to PDF conversion fails in graphicx (but not in preview)

Themis Matsoukas tmatsoukas at me.com
Sat Dec 4 07:16:06 EST 2010

On Dec 4, 2010, at 5:01 AM, Peter Dyballa wrote:

> Am 04.12.2010 um 10:07 schrieb Siep Kroonenberg:
>>> The file starts with the hex c5d0d3c6 (or ≈–”Δ as string). Then
>>> comes a SPACE (or 20) followed by three ASCII NUL. So the number is
>>> 20,000 hex or 131,072 dec. This leads into the middle of some
>>> PostScript code. Then follows 7B50 hex (^G^K^E^@) or 31,568 dec. The
>>> "scrappy" last 327,759 bytes then are a TIFF image of the EPS
>>> image...
>> Byte order. Postscript start is 0x00000020, Postscript length is
>> 0x00045ac7. The byte order of these numbers is always little-endian.
> How do you come to this figure? When I read the byte sequence ^G^K^E^@ backwards I get 05B7...
>>> And 5002.EPSF_Spec describes this header as "DOS EPS Binary File
>>> Header" – why is it produced on a Mac in a Mac-Roman encoding?
>> Just try it. It works.

Pete, Siep,

This discussion is now above my pay grade but I can confirm from my side that the eps is problematic when the preview is in 8 bit TIFF. If I choose for the preview black and white or none, the resulting file is converted properly.


More information about the MacOSX-TeX mailing list