[OS X TeX] Re: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>

Jens Nöckel noeckel at uoregon.edu
Wed May 25 11:59:34 EDT 2011


On May 25, 2011, at 2:21 AM, Luis Sequeira wrote:

>> I would like to use old eps figure files, as old as 1998, in a new LaTeX document. 
>> 
>> They contain text typeset in Myriad (Roma, Italic or Bold) and TeXShop does a very bad job of conversion whatever I use latex or pdflatex, or whatever I chose Ghostscript or Apple Distiller in the preferences. It does not recognize the Myriad font and use a substitution font. This means that pieces of text collides, as the substituted font is a bit larger, italic and bold are transformed into roman, etc.
>> 
>> Adobe Distiller Professional 8.1.3 does the same bad job.
>> 
>> But Preview (Aperçu in French) does a perfect conversion. The only drawback is that Preview consider any new eps file as untitled, and you have to rename it by hand, and you may only handle the files one by one, as there are 254 eps files to convert.
>> 
>> Does anybody know a way of
>> 
>> - using Preview in batch mode;
>> 
>> - or, alternatively, to replace Ghostscript by Preview (not Apple Distiller !) in the TeXShop preferences?
>> 
>> Thanks for any help,
>> 
>> André
>> 
> 
> 
> This seems like a job for AppleScript. The only trouble seems to be  that, strangely, Preview does not seem to have much suport for AppleScript, so it may no be as simple a script as it should be.
> I have tried to put together a little script for this, but I am not very fluent in it.
> 
No need. 
In Terminal, type 
apply /usr/bin/pstopdf *.eps

Jens




More information about the MacOSX-TeX mailing list