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

Christoph Eyrich ceyrich at gmx.net
Wed Sep 19 11:26:41 CEST 2007


On Sep 19, 2007, at 9:46 AM, Eric van der Oord wrote:

> 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 ?
>
>> 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

if epstopdf is installed on your system, a simple shell command will  
do (bash).

assuming you have all the eps files in a folder, open your terminal,  
go to this folder, enter:

	for i in *.eps; do epstopdf $i; done

that's it.

christoph



------------------------- 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