auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] 2009-03-01; Can't use C-c = anymore with cvs Refte


From: Damien Cassou
Subject: Re: [AUCTeX] 2009-03-01; Can't use C-c = anymore with cvs Refte
Date: Tue, 28 Apr 2009 23:07:06 -0700 (PDT)


Ralf Angeli-3 wrote:
> 
> Did you actually install AUCTeX and RefTeX, i.e. called `make install'?
> 

AUCTeX and RefTeX work perfectly fine with that particular exception. For
AUCTeX I use:
$ ./autogen.sh
$ ./configure --prefix=${HOME}/.emacs.d/local/auctex
--with-lispdir=${HOME}/.emacs.d/local/auctex --without-texmf-dir
$ make -j 4
$ make install

For RefTeX:

$ make
$ cd lisp
$ cp -r *.el *.elc ${HOME}/.emacs.d/local/reftex

(I don't use make install for RefTeX because I script my installations and
RefTeX needs modifications in the Makefile instead of a simple configure)

In my emacs configuration file:

;; RefTex
(add-to-list 'load-path "~/.emacs.d/local/reftex")
(require 'reftex)

;; AucTex
(add-to-list 'load-path "~/.emacs.d/local/auctex")
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'LaTeX-mode-hook (lambda () (TeX-source-correlate-mode 1))) 
(eval-after-load "tex"
  '(add-to-list 'TeX-command-list '("Dvips" "dvips %s.dvi" TeX-run-command t
t :help "Run dvips") t))
(eval-after-load "tex"
  '(add-to-list 'TeX-command-list '("Dvipdf" "dvipdfmx %s.dvi"
TeX-run-command t t :help "Run dvipdf") t))
-- 
View this message in context: 
http://www.nabble.com/2009-03-01--Can%27t-use-C-c-%3D-anymore-with-cvs-Refte-tp23276599p23291070.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]