[OS X TeX] EPS to PDF--en masse?

Maarten Sneep maarten.sneep at xs4all.nl
Wed Sep 19 12:05:42 CEST 2007


Eric van der Oord schreef:
> 3 years ago, Adam gave this very useful script.
>
> Unfortunately, it seems not to work with the new gwTeX distribution.
>
> Can someone tell how to modify it ?

The path's have changed.

replace
/usr/local/teTeX/bin/powerpc-apple-darwin-current/epstopdf

with
/usr/ltexbin/epstopdf

(this is from memory, I'm not at my mac at the moment).

Maarten

> Le 7 juin 04 à 00:28, Adam Maxwell a écrit :
>> While I would personally use Maarten's approach, you can also use
>> AppleScript to automate this, using the same epstopdf command.  The
>> script can also be saved and reused easily, if you forget the
>> Terminal commands :).
>>
>> -- This is a comment
>> -- Paste this into a new script using ScriptEditor
>> -- Save it as an application, then drag and drop your files on it
>> on open DroppedItems
>> 	repeat with EachItem in DroppedItems
>> 		do shell script "export PATH=$PATH:/usr/local/bin ;
/usr/local/teTeX/bin/powerpc-apple-darwin-current/epstopdf " & the
quoted form
>> of the POSIX path of EachItem
>> 	end repeat
>> end open
>> -- End script



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list