I installed the latest MacTex.pkg on a new MacBook Pro running OS X Yosemite (10.10.4). After a reboot, pdflatex and xelatex work fine on the bash shell (Terminal application) command line.
This evidently is because the following has been added to my $PATH: /Library/TeX/texbin
My question: How is that added to my path? It is not mentioned in my ~/.profile nor in my .bashrc.
What is the mechanism by which that directory is added to my path at boot-up or at the start of a new Terminal session?
TeX Live and MacTeX ⇒ how is /Library/TeX/texbin added to $PATH
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
how is /Library/TeX/texbin added to $PATH
As detailed for example in http://serverfault.com/questions/16355/ ... th-on-os-x, on the Mac the location can contain a series of files each of which add exactly one entry to the global path. The files can have 'user friendly' names, so the one that adds the TeX system is called .
Code: Select all
/etc/paths.d
Code: Select all
TeX
Joseph Wright