A short answer: for your path problem you can use of course the package
exec-path-from-shell or, shorter, use the following shorter code snippet in your
(setenv "PATH" (concat "/Library/TeX/texbin:"
(add-to-list 'exec-path "/Library/TeX/texbin")
As for the
init.el file: it is possible that you already have it. Usually it is hidden, so it will not show up in your Finder. Try the following:
- In your Finder, select your home folder and then type
cmd + > to see all hidden files.
- Check for a folder
.emacs.d in your home directory - if you don't already have it, then create it by choosing from menu File | Create New Folder and type in the name
- Now open your Emacs and then create the file
init.el, by opening with:
C-x C-f and then from the minibuffer type
- Place here the above snippet and the rest of your configurations.