[Tex/LaTex] texworks on mac epstopdf or repstopdf not found


I am running texworks on mac and pdflatex to generate pdf.

epstopdf used to run fine until i upgraded my mac to the new yosemite.

Now I have this problem –

[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]sh: repstopdf: command not found

I tried to manually add


[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]sh: epstopdf: command not found

I also installed texlive-fontutils through macports

Could anyone tell me how to solve this. I added \usepackage{epstopdf} to the preamble.

I can access both repstopdf and epstopdf on my terminal

I tried various solutions posted here tex-soln


Taking the suggestion I installed texlive 2014 and removed the 2011 version:

I have the same problem:

[1{/opt/local/var/db/texmf/fonts/map/pdftex/updmap/pdftex.map}]sh: repstopdf: command not found

Best Answer

Launching TeXworks in the Terminal will work around an environment variable bug in OS X Yosemite. Assuming you have TeXworks installed in the /Applications folder, your command in Terminal would look like this:


Press return after entering the command, and TeXworks should launch. Correct functioning will depend on the caveats listed here in the more detailed description of the problem.