A short answer: for your path problem you can use of coarse 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")
A for the
init.el file: it is possible to already have it. Usually it is hidden, so it will not show up in your Finder. Try the follwings:
- In your Finder, select your home folder and then type
cmd + > to see all hidden files.
- Check for a folder .emacs.d - if you don't already have it, then create it by choosing from menu File | Create New Folder and type in the name .emacs.d
- Now open your Emacs and then create the file init.el, by opening with:
C-x C-f and then from the minibuffer type ~/.emacs.d/init.el
- Place here the above snippet and the rest of your configurations.