88 |
also make @file{configure} find (X)Emacs automatically, if this doesn't |
also make @file{configure} find (X)Emacs automatically, if this doesn't |
89 |
happen try one of @samp{--with-emacs} or @samp{--with-xemacs} as |
happen try one of @samp{--with-emacs} or @samp{--with-xemacs} as |
90 |
described below. All automatic detection of files and directories |
described below. All automatic detection of files and directories |
91 |
restricts itself to directories below the @var{prefix}. |
restricts itself to directories below the @var{prefix} or in the same |
92 |
|
hierarchy as the program accessing the files. |
93 |
|
|
94 |
@item --with-emacs |
@item --with-emacs |
95 |
if you are installing Emacs. You can use |
if you are installing Emacs. You can use |
121 |
installation scheme: |
installation scheme: |
122 |
|
|
123 |
@item --with-lispdir=@var{/path/to/site-lisp} |
@item --with-lispdir=@var{/path/to/site-lisp} |
124 |
This Emacs-only option tells where to install the setup file |
This Emacs-only option tells a place in the load path below which the |
125 |
@file{preview-latex.el} (if not autodetected). The other files from |
files are situated. The setup file @file{preview-latex.el} will get |
126 |
@previewlatex{} will be installed in a subdirectory called |
installed here unless a subdirectory @file{site-start.d} exists which |
127 |
@file{preview}. If you have a @file{site-start.d} directory for |
will then be used instead. The other files from @previewlatex{} will be |
128 |
automatic package startup, please refer to the full installation |
installed in a subdirectory called @file{preview}. |
129 |
instructions in |
|
130 |
|
If you think that you need a different setup, please refer to the full |
131 |
|
installation instructions in |
132 |
@ifset rawfile |
@ifset rawfile |
133 |
the @file{INSTALL} file. |
the @file{INSTALL} file. |
134 |
@end ifset |
@end ifset |
135 |
@ifclear rawfile |
@ifclear rawfile |
136 |
@ref{Configure} |
@ref{Configure}. |
137 |
@end ifclear |
@end ifclear |
|
in order to make use of it. |
|
138 |
@end table |
@end table |
139 |
|
|
140 |
Calling @file{./configure --help} will tell about other options, but |
Calling @file{./configure --help} will tell about other options, but |
165 |
as necessary and you can skip to the next point. If you are using |
as necessary and you can skip to the next point. If you are using |
166 |
Emacs, the installation procedure should have left you with a file |
Emacs, the installation procedure should have left you with a file |
167 |
@file{preview-latex.el} in a suitable place in @var{load-path}. If this |
@file{preview-latex.el} in a suitable place in @var{load-path}. If this |
168 |
is a special place where files get automatically loaded at startup, |
is in a preexisting @file{site-start.d/} directory, it should get loaded |
169 |
@previewlatex{} will be automatically enabled in LaTeX modes. If this |
by code in @file{site-start.el} automatically, and @previewlatex{} will |
170 |
is not such a place, you can explicitly enable @previewlatex{} with the |
be enabled in @LaTeX{} modes. If no such directory was found, you can |
171 |
incantation |
explicitly enable @previewlatex{} with the incantation |
172 |
|
|
173 |
@example |
@example |
174 |
(load "preview-latex.el" nil t t) |
(load "preview-latex.el" nil t t) |