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

Martin Costabel costabel at wanadoo.fr
Fri Mar 8 16:49:34 EST 2002

Hanspeter Schaub wrote:
> 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 ->

foreach is ended by 'end', not by 'done'. The latter is bash-speak. In
bash you would say

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

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

man tcsh


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