在OS X中通过Emacs.app安装AucTeX 1.86
我试图通过emacsformacosx.com的Emacs二进制文件(版本24.0.50)安装AucTeX 1.86。首次尝试./configure输出时: configure: error: Cannot find the texmf directory! Please use --with-texmf-dir=dir to specify where the preview tex files go configure: error: ./configure failed for preview 我添加了--with-texmf-dir=/usr/local/texlive/texmf-local,并向他们./configure表示高兴,并表示一些祝贺。我编译make和sudo make install无故障。 我在Emacs上打开一个.tex文件,但AucTeX无法加载。我(load auctex.el nil t t)在* scratch *缓冲区和Emacs输出中发布Cj: Debugger entered--Lisp error:(file-error "Cannot open load file" "auctex.el") 出事了。我认为Emacs找不到该文件,因此它一定没有安装在应有的位置。我将大多数AucTeX文件跟踪到/usr/share/emacs/site-lispEmacs 22.1所在的。 我在这里有两个选择:1.告诉Emacs在哪里可以找到AucTeX(我不知道该怎么做);2.使用更多配置选项重新编译AucTeX(这似乎更简单)。 从先前的安装中删除所有AucTeX文件后,我选择重新编译。这次我配置源,并通过以下命令告诉它应使用的Emacs: ./configure -with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs …