I am a newbie to Emacs and have just installed GNU Emacs from emacsformacos.com on OSX "El Capitan" but couldn't figure out how to correctly link Mactex 2015 to Emacs.
- When trying to Latex a tex file I got the following message bash-3.2$ latex \nonstopmode\input test.tex bash: latex: command not found bash-3.2$
- I have create an .emacs file with the following entry only (setenv "PATH" "/usr/local/bin:/Library/TeX/texbin/:$PATH" t)
It seems latex have successfully created a dvi file. I am not sure how correct is what I did ?
- How can I do a pdflatex ?
- Is there a way to configure a shortcut to Latex > Pdf > Preview the results directly.
Thanks in advance for your help.