I updated to El Capitan some time ago. My TeX installation works fine, but there is a problem: When I run latex from inside TeXShop, it does not see the
TEXINPUTS environment variable. When I run
pdflatex from the Terminal, everything works correctly. (So this is not about changed paths to the executables, access to
The root of the problem is that on OS X, applications launched from the GUI (Launchpad) do not inherit from any shell that reads my startup files. Prior to the upgrade, I could set
TEXINPUTS with the command
launchctl setenv TEXINPUTS path:path:more-path::. But this has stopped working:
launchctl tells me it set the variable, but it does not get passed to child processes. Does anyone know how we're supposed to do this on El Capitan?