Loading the preview function of AUCTeX 11.86 on macports Emacs-app 23.2.1 port.

Posted by Sarah on Super User See other posts from Super User or by Sarah
Published on 2011-01-17T13:37:51Z Indexed on 2011/01/17 13:55 UTC
Read the original article Hit count: 222

Filed under:
|
|

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/Emacs.app/Contents/MacOS/Emacs
 --with-lispdir=/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/
 --with-texmf-dir=/usr/local/texlive/2010basic/texmf-local/

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.

© Super User or respective owner

Related posts about osx

Related posts about emacs