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

10.1 Compiling

The following describes how to install AUC TeX under Unix. You may also be able to do use these instructions under some other operating systems, if you have already installed the proper GNU tools, such as `make'.

To install AUC TeX for an entire site (which may just be your own personal Linux box), issue the following two commands as root:

 
make 
make lispdir=/usr/local/share/emacs/site-lisp install

except that instead of /usr/local/... you should use the location of your sites emacs installation. AUC TeX will then be installed in a subdirectory named `auctex' of the `site-lisp' directory, and the file `tex-site.el' will be stored directly in the `site-lisp'. You can now tell your users to enable AUC TeX by adding

 
(require 'tex-site)

to their `.emacs' file.

If you use xemacs instead, or if your emacs binary is named something else than `emacs', specify this by using the commands

 
make EMACS=xemacs
make lispdir=/usr/local/share/emacs/site-lisp install

to install.

If you want to install AUC TeX in your personal account, you should chose a directory for all your emacs add-ons, for example an `elisp' subdirectory in your home directory. You can then install AUC TeX with the commands

 
make 
make lispdir=$HOME/elisp install

You will then need to add the following lines to your `.emacs' file:

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



This document was generated by Davide G. M. Salvetti on January, 18 2002 using texi2html