Fresh install of Mac OS Sierra, fresh install of MacTeX. If I run with the terminal
pdflatex I get
-bash: pdflatex: command not found
Thank you for help and answers.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
According to post by Dick Koch on the macosx-tex mailing list:
This problem only concerns users who install Sierra on a new disk, rather than updating an existing system to Sierra.
If these users install MacTeX-2016 or BasicTeX-2016, they will discover that they cannot typeset from the command line. To fix this problem, download FixLink from my web site:
This is a very, very small download package; install the package.
Eventually this fix will be moved to BasicTeX-2016 and MacTeX-2016, but before remaking those packages, I want to make sure this one creates no problems. I certainly tested FixLink on my own machine.
The technical problem is that Sierra does not create the folders /etc/paths.d or /etc/manpaths.d, so our packages have to create them. XQuartz creates the folders as well, so another solution is to install XQuartz before installing BasicTeX or MacTeX.
Fix included in latest MacTeX download
The revised MacTeX download, dated 09 October 2016, includes the fix. See:
It looks like the MacTeX package installed tools into the /Library/TeX/Distributions/Programs/texbin directory and adds a symlink to it at /usr/texbin, which made it onto my
$PATH. After upgrading to Sierra, this symlink disappeared.
If you're using the command line, you can add the installed texbin directory to your path:
Sticking the above line in your
~/.bash_profile will cause that install directory to be in your path for your terminal windows.