[Tex/LaTex] Error: usr/texbin/pdflatex” -synctex=1 -interaction=nonstopmode %.tex

errorsmac

Recently I'm getting an error on my macbook air since i've upgraded to Yosemite:

usr/texbin/pdflatex" -synctex=1 -interaction=nonstopmode %.tex

Anybody who knows how I can solve this?

Best Answer

In terminal type "which pdflatex" and you should get something like /Library/TeX/texbin/pdflatex, depending on your system. If you get nothing you need to reinstall mactex. If you do get something say "%whatyougethere%", in Texmaker preferences on quickbuild (which is what I assume you are using change the command to

"%whatyougethere%" -synctex=1 -interaction=nonstopmode %.tex 

e.g.

"/Library/TeX/texbin/pdflatex" -synctex=1 -interaction=nonstopmode %.tex