152 |
This XEmacs-only option configures the directory for XEmacs packages. A |
This XEmacs-only option configures the directory for XEmacs packages. A |
153 |
typical user-local setting would be @file{~/.xemacs/xemacs-packages}. |
typical user-local setting would be @file{~/.xemacs/xemacs-packages}. |
154 |
If this directory exists and is below @var{prefix}, it should be |
If this directory exists and is below @var{prefix}, it should be |
155 |
detected automatically. This will install and activete the package. |
detected automatically. This will install and activate the package. |
156 |
Emacs uses a different installation scheme: |
Emacs uses a different installation scheme: |
157 |
|
|
158 |
@item --with-lispdir=@var{/dir} |
@item --with-lispdir=@var{/dir} |
159 |
This Emacs-only option specifies the location of the startup file |
This Emacs-only option specifies the location of the @file{site-lisp} |
160 |
@file{preview-latex.el} which should be somewhere in the |
directory within @samp{load-path} under which the files will get |
161 |
@var{load-path}. @file{configure} should figure this out by itself. |
installed. @file{configure} should should figure this out by itself. |
162 |
However, some Emacs installations have a directory commonly called |
|
163 |
@file{site-start.d/} where files get automatically loaded. If you want |
@item --with-preview-startfile=@file{preview-latex.el} |
164 |
@previewlatex{} to be activated automatically, you can specify such a |
This is the name of the startup file. Some Emacs installations have a |
165 |
startup directory here. If you do this, you'll also need |
directory @file{site-start.d/} situated under @var{lispdir} where files |
166 |
|
get automatically loaded by code in @file{site-start.el}. If your |
167 |
@item --with-packagelispdir=@var{../preview} |
installation has such a directory, the startup file is placed into |
168 |
This is the directory where the bulk of the package gets located. Since |
@file{site-start.d/preview-latex.el} by default instead. If the |
169 |
@file{preview-latex.el} already adds this into @var{load-path}, you |
specification is not an absolute filename, it is considered relative to |
170 |
don't need to place it in the search path. You might want to place an |
@var{lispdir}. |
171 |
empty file called @var{.nosearch} in this directory to speed up |
|
172 |
searches. If this directory is given with a relative path, it is |
@item --with-packagelispdir=@file{preview} |
173 |
considered @emph{relative} to the @var{lispdir} variable. The proposed |
This is the directory where the bulk of the package gets located. The |
174 |
setting would be typical if you set @var{lispdir} to some |
start file adds this into @var{load-path}. |
|
@file{site-lisp/site-start.d/} directory. |
|
175 |
|
|
176 |
@item --with-tex-site=@var{/dir} |
@item --with-tex-site=@var{/dir} |
177 |
If @AUCTeX{} is installed in a non-standard location, use this option to |
If @AUCTeX{} is installed in a non-standard location, use this option to |
244 |
With Emacs (or if you explicitly disabled use of the package system), |
With Emacs (or if you explicitly disabled use of the package system), |
245 |
the file @file{preview-latex.el} (which is generated during the |
the file @file{preview-latex.el} (which is generated during the |
246 |
installation) may already be in a directory of the @file{site-start.d/} |
installation) may already be in a directory of the @file{site-start.d/} |
247 |
variety if your Emacs installation provides it and you followed the |
variety if your Emacs installation provides it. In that case it should |
|
suggestion in the configuration section above. In that case it should |
|
248 |
be automatically loaded on startup and nothing else needs to be done. |
be automatically loaded on startup and nothing else needs to be done. |
249 |
If not, it should at least have been placed somewhere in your |
If not, it should at least have been placed somewhere in your |
250 |
@var{load-path}. You can then load it with |
@var{load-path}. You can then load it with |