In summary, all you have to do is to add /usr/texbin
to the environment variable $PATH
. Using Terminal you can do it in 3 steps:
1) Ensure that pdflatex command is installed in /usr/texbin
mac:yourname$ ls /usr/texbin
afm2tfm dvired initex luaotfload-tool mktexlsr simpdftex texluajitc
allcm dvitomp kpseaccess luatex mktexmf synctex thumbpdf
allec ebb kpsepath makeindex mktexpk teckit_compile tlmgr
allneeded etex kpsereadlink man mktextfm tex updmap
bibtex extractbb kpsestat mf mpost texconfig updmap-sys
dvi2fax fmtutil kpsetool mf-nowin mptopdf texconfig-dialog xdvi
dvilualatex fmtutil-sys kpsewhere mfplain pdfetex texconfig-sys xdvi-xaw
dviluatex gftodvi kpsewhich mft pdflatex texhash xdvipdfmx
dvipdfm gftopk kpsexpand mkindex pdftex texlinks xelatex
dvipdfmx gftype latex mkocp pktogf texlua xetex
dvipdft gsftopk luajittex mkofm pktype texluac
dvips inimf lualatex mktexfmt rungs texluajit
2) Print the old $PATH
value
mac:yourname$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
3) If /usr/texbin
is not part of $PATH value you can append it by adding or editing your .profile
file (needs superuser permissions)
mac:yourname$ sudo vi /Users/yourname/.profile
...
\#This is the concerned part of .profile
export PATH=/usr/local/bin:$PATH:/usr/texbin
...
After saving the file, you can restart Terminal or open a new window/tab.
texbin
setup thatmactex
usuall installes got wiped during the upgrade. I've also seen this happen withTeXLive
on windows 8 that was then updated to 8.1. The PATH addition was lost. Sadly I do not know which programmes to run on the Mac to get those paths (andtexbin
setup again). Have you searched the HD to see ifpdflatex
is still in the system folder?echo $PATH
say? And I'm not sure, but tryln -s /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin /usr/texbin
.pdflatex
. Perhaps you are thinking of traditional Mac OS (through Mac OS 9.*)?.emacs
file for Snow Leopard:(setenv "PATH" (concat (getenv "PATH") ":/usr/texbin"))
Try also generating a latex document from Terminal.app without using Emacs to see if your TexLive installation is intact. If it is not, then reinstall TexLive.