1

If I start up TeXstudio by launching it normally as an app in OS X Yosemite, whenever I build and view a document, it complains kpsewhich: command not found.

However, which kpsewhich in a terminal shows it exists at /Library/TeX/texbin/kpsewhich. And echo $PATH includes /Library/TeX/texbin. So if I start up TeXstudio from the terminal the problem disappears.

I wonder if there is PATH configuration problem somewhere for TeXstudio such that it does not load /Library/TeX/texbin properly. If so, how do I fix it?

Note: my problem initially led me to this question, but I have installed the latest MacTex and updated all my packages using TexLive, so it should be safe to say the cause of my problem is different.

  • Can you not configure paths in the settings for the editor? I'd assume that might be necessary. I have not used MacTeX for ages, but it used to use /usr/texbin. (This was a symbolic link to the directory in /Library but /Library would not typically have been in PATH.) However, I know Apple is locking out users from /usr so maybe this has changed to workaround that problem. – cfr Sep 12 '15 at 2:31
  • Certainly in earlier versions of OS X, GUI applications did not typically inherit PATH, and getting them to do that was a complete headache. However, I thought they had done away with at least some of the craziness of the system. – cfr Sep 12 '15 at 2:33
  • MacTeX 2014 installs links at /usr/texbin and /Library/TeX/texbin as future-proofing against the next release of OS X, which will wipe out /usr/texbin for good. Yosemite did have an environment bug that would cause problems like this, but it should be fixed as of 10.10.4 or so. How do your paths compare to this? tex.stackexchange.com/questions/38627/… – Adam Maxwell Sep 12 '15 at 3:18
  • @cfr, yes, the /usr/texbin stuff are all symbolic links, but the question is which setting(s) in TeXstudio I should adjust to fix the problem. – MLister Sep 12 '15 at 3:42
  • @AdamMaxwell, I'm running 10.10.5, and I've compared my settings in the question you referenced, they are the same. But the problem persists. – MLister Sep 12 '15 at 3:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.