I installed MacTex-2014 on my Mac a while ago, under Yosemite, and it is installed in
/usr/local/texlive/2014. I have since upgraded my OS to El Capitan.
Needing to do some work on a document, I opened up TeXShop. To my surprise (I haven't done any LaTeX work on my Mac in a while) I got a message telling me I didn't have
pdflatex on my system. After reading Reconfiguring TexStudio after upgrade to OS X El Capitan, and setting a symlink called
/Library/TeX to point to my MacTex installation at
/usr/local/texlive/2014/bin/x86_64-darwin/, I got TeXShop working and was able to compile my document.
After using TeXShop for a short while I decided that I would prefer to use TeXstudio, which I have installed on my Windows & Linux machines, and so installed it on my Mac.
When TeXstudio opened up, it also complained about being unable to find my pdflatex install, and unfortunately set my commands in the Commands window of my preferences to
<unknown>. I have since set the
Commands ($PATH) variable in the Build window to point to MacTex via the symlink.
Is there a way to have these commands automatically generated? I don't know enough about how TeXstudio works to confidently do this myself. (Though I could perhaps retype OSX versions of the commands shown on my Windows machine.)
Any suggestions would be most welcome.
[There are no tags for 'El Capitan' or 'Yosemite']