[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.4 Loading the package

First you should make sure that AUCTeX gets loaded. You then need to place a few lines in your personal `.emacs' file (or a site-wide configuration file).

For XEmacs, if you specified a valid package directory during installation, or none at all, then XEmacs installation should do everything necessary in order to install AUCTeX as a package and activate it. Restarting XEmacs should then make the package visible, and C-c C-c should give you a command prompt.

If you used --with-packagedir, you have to make sure that the directory `lisp/auctex' under the directory you specified is in XEmacs' load-path variable.

For GNU Emacs, the recommended way to activate AUCTeX is to add the following line to your `.emacs' file:

 
(require 'tex-site)

If you used --with-lispdir, you have to make sure that the directory specified is in Emacs' load-path variable, so that you would instead use, e.g.,

 
(setq load-path (cons "~/elisp" load-path))
(require 'tex-site)

For site-wide activation in GNU Emacs, see See section 10.5 Providing AUCTeX as a package.

That is all. There are other ways of achieving the equivalent thing, but we don't mention them here any more since they are not better, and people got confused into trying everything at once.



This document was generated by Davide G. M. Salvetti on September, 9 2004 using texi2html