[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Next, you should edit the file `tex-site.el' to fit your local site. You do this by looking at the customization section in the beginning of `tex.el' and copy the definitions that are wrong for your site to `tex-site.el'. Do not edit `tex.el' directly, or you will have to do all the work over again when you upgrade AUC TeX. AUC TeX will not overwrite your old `tex-site.el' file next time you install, so you will be able to keep all your customizations.
There are two variables with a special significance.
This variable is set automatically by the make install
command.
If you don't issue a make install
, for example if you don't want
to install AUC TeX in a different place, you will have to set this
variable manually to the location of the compiled files.
Normally, AUC TeX will only allow you to complete a short list of built-in macros and environments and on the macros you define yourself. If you issue the M-x TeX-auto-generate-global command after loading AUC TeX, you will be able to complete on all macros available in the standard style files used by your document. To do this, you must set this variable to a list of directories where the standard style files are located. The directories will be searched recursively, so there is no reason to list subsirectories explicitly.
You probably also need to change TeX-command-list
to make sure
that the commands used for starting TeX, printing, etc. work on your
system. Copy the definition from `tex.el' to `tex-site.el'
and edit the command names appropriately.
Finally, copy and edit TeX-printer-list
to contain the printers
available at your site.
To extract information from your sites TeX macros, type M-x
TeX-auto-generate-global in your emacs. This will only work if you
have set TeX-macro-global
correctly in `tex-site.el'.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |