annotate lisp/auctex/INSTALLATION @ 39:06f275776fba

Added tag r19-15b102 for changeset 1a767b41a199
author cvs
date Mon, 13 Aug 2007 08:54:02 +0200
parents 4103f0995bd7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
1 Installation of AUC TeX
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
2 ***********************
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
3
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
4 Compiling
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
5 =========
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
6
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
7 The following describes how to install AUC TeX under Unix. You may
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
8 also be able to do use these instructions under some other operating
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
9 systems, if you have already installed the proper GNU tools, such as
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
10 `make'.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
11
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
12 To install AUC TeX for an entire site (which may just be your own
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
13 personal Linux box), issue the following two commands as root:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
14
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
15 make
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
16 make lispdir=/usr/local/share/emacs/site-lisp install
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
17
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
18 except that instead of /usr/local/... you should use the location of
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
19 your sites emacs installation. AUC TeX will then be installed in a
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
20 subdirectory named `auctex' of the `site-lisp' directory, and the file
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
21 `tex-site.el' will be stored directly in the `site-lisp'. You can now
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
22 tell your users to enable AUC TeX by adding
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
23
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
24 (require 'tex-site)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
25
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
26 to their `.emacs' file.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
27
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
28 If you use xemacs instead, or if your emacs binary is named something
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
29 else than `emacs', specify this by using the commands
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
30
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
31 make EMACS=xemacs
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
32 make lispdir=/usr/local/share/emacs/site-lisp install
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
33
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
34 to install.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
35
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
36 If you want to install AUC TeX in your personal account, you should
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
37 chose a directory for all your emacs add-ons, for example an `elisp'
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
38 subdirectory in your home directory. You can then install AUC TeX with
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
39 the commands
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
40
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
41 make
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
42 make lispdir=$HOME/elisp install
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
43
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
44 You will then need to add the following lines to your `.emacs' file:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
45
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
46 (setq load-path (cons "~/elisp" load-path))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
47 (require 'tex-site)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
48
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
49 Customizing
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
50 ===========
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
51
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
52 Next, you should edit the file `tex-site.el' to fit your local site.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
53 You do this by looking at the customization section in the beginning
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
54 of `tex.el' and copy the definitions that are wrong for your site to
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
55 `tex-site.el'. Do *not* edit `tex.el' directly, or you will have to do
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
56 all the work over again when you upgrade AUC TeX. AUC TeX will not
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
57 overwrite your old `tex-site.el' file next time you install, so you
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
58 will be able to keep all your customizations.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
59
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
60 There are two variables with a special significance.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
61
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
62 - User Option: TeX-lisp-directory
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
63 The directory where you want to install the AUC TeX lisp files.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
64
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
65 This variable is set automatically by the `make install' command.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
66 If you don't issue a `make install', for example if you don't want to
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
67 install AUC TeX in a different place, you will have to set this
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
68 variable manually to the location of the compiled files.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
69
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
70 - User Option: TeX-macro-global
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
71 Directories containing the site's TeX style files.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
72
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
73 Normally, AUC TeX will only allow you to complete a short list of
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
74 build-in macros and environments and on the macros you define yourself.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
75 If you issue the `M-x TeX-auto-generate-global' command after loading
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
76 AUC TeX, you will be able to complete on all macros available in the
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
77 standard style files used by your document. To do this, you must set
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
78 this variable to a list of directories where the standard style files
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
79 are located. The directories will be searched recursively, so there is
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
80 no reason to list subsirectories explicitly.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
81
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
82 You probably also need to change `TeX-command-list' to make sure
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
83 that the commands used for starting TeX, printing, etc. work on your
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
84 system. Copy the definition from `tex.el' to `tex-site.el' and edit
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
85 the command names appropriately.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
86
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
87 Finally, copy and edit `TeX-printer-list' to contain the printers
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
88 available at your site.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
89
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
90 To extract information from your sites TeX macros, type `M-x
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
91 TeX-auto-generate-global' in your emacs. This will only work if you
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
92 have set `TeX-macro-global' correctly in `tex-site.el'.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
93
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
94 Contributed files
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
95 =================
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
96
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
97 There are several files that are not part of AUC TeX proper, but
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
98 included in the distribution in case they are useful.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
99
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
100 `hilit-LaTeX.el'
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
101 Better highlighting for the obsolete `hilit19' package.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
102
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
103 `font-latex.el'
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
104 Better highlighting for the FONT-LOCK package.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
105
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
106 `bib-cite.el'
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
107 Better support for bibliographies and much more.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
108
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
109 `tex-jp.el'
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
110 Support for Japanese.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
111
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
112 `func-doc.el'
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
113 Support for context sensitive online help for various languages.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
114
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
115 Read the comments in the start of each file for more information
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
116 about how to install, what they do, and who wrote and maintains them.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
117