[OS X TeX] batch convert eps to pdf using epstopdf

Hanspeter Schaub HanspeterSchaub at mac.com
Fri Mar 8 16:02:22 EST 2002



Thanks for pointer.  However, I can't seem to get it to work.  In a 
terminal I type as you suggest below, but I get

hp% foreach f (*.eps)
foreach -> epstopdf $f
foreach -> done
foreach ->


How does one invoke the foreach command? I didn't find a man page on it.

thanks,

HP

On Friday, March 8, 2002, at 01:11  PM, Piet van Oostrum wrote:

>>>>>> Hanspeter Schaub <HanspeterSchaub at mac.com> (HS) writes:
>
> HS> I have a simple question.  I have installed the teTeX distribution for 
> OS
> HS> X.  Using the command line program epstopdf, I only seem to be able to
> HS> convert one eps image at a time.  How can I batch convert a set of 
> *.eps
> HS> files?  I only know some very basic UNIX stuff, but I figured that 
> must be
> HS> a slick way to do this?
>
> In a terminal window:
>
> foreach f (*.eps)
> epstopdf $f
> done
>
> You could make this into a shell script.
> --
> Piet van Oostrum <piet at cs.uu.nl>
> URL: http://www.cs.uu.nl/~piet [PGP]
> Private email: P.van.Oostrum at hccnet.nl
>
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------
>


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the MacOSX-TeX mailing list