Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Emacs-app 23.2.1 via MacPorts and I'm trying to install AUCTeX 11.86 so that it will work on this installation.

I've run the following configure line for AUCTeX and that seems to work.

 ./configure --with-emacs=/Applications/MacPorts/

make and make install seem to work, and I've added the following line to my init.el

 (require 'tex-site)

as per the installation instructions. However, when I open a TeX file, the Preview menu does not show up (although the LaTeX menu does.) The following are some of my tests:

 M-x load-library RET preview-latex RET

doesn't seem to do anything.

 M-x load-library RET preview RET

brings up the Preview menu. Is it safe to somehow add the load-library preview to my init.el? Or do I risk mucking up something? I'm new to Emacs and primarily trying to learn it because of the AUCTeX preview features, but I don't feel very safe in this environment yet.

share|improve this question
To which directory is Auctex installed? – Charles Stewart Jan 17 '11 at 20:24
/Applications/MacPorts/ – Sarah Jan 17 '11 at 22:13
Any reason not to use the MacPorts auctex package? The current port version seems to be what you want. – fideli Feb 9 '11 at 7:13

Try adding (load "preview-latex.el" nil t t) to your .emacs file. (see: That should bring up the menu every time you open a .tex file. Your installation does not seem to be broken, since you can manually bring up the menu. There is no risk of mucking anything up permanently by making additions to your initialization file. At worst, commenting out (or deleting) the offending expression will take care of things.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .