Re: rel-0-9; Initialisation: Error in INSTALL or in preview-latex.el

David Kastrup <[email protected]> Fri, 04 Mar 2005 23:54:29 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <x5d5ufowd6.fsf__2569.83399526707$1110017382$gmane$org@lola.goethe.zz>
Frank K=FCster <[email protected]> writes:

> Remember to cover the basics.  Including a minimal LaTeX example
> file exhibiting the problem might help.
>
> The INSTALL file says:
>
> ,----
> |    For GNU Emacs, the recommended way to activate preview-latex is to
> | copy the file `preview-latex.el' (which is generated during the
> | installation) to a place where your installation keeps automatically
> | loaded startup files.  Alternatively, you can copy it to some place on
> | your `load-path' and load it with
> |=20
> |      (load "preview-latex.el" nil t t)
> |=20
> |    That is all.
> `----

And it is nonsense.  I have overlooked that part of the installation
instructions seemingly.  preview-latex.el gets installed
automatically, and the process is described detailedly earlier in the
INSTALL file.

Sorry for that.

> However, preview-latex.el contains these lines:
>
> (add-to-list 'load-path (expand-file-name "preview" (file-name-directory =
load-file-name)))
> (defvar preview-icondir (expand-file-name "preview/images" (file-name-dir=
ectory load-file-name)))
>
> As far as my understanding of Emacs lisp goes, file-name-directory
> load-file-name will be /etc/emacs/site-start.d/ if I copy
> preview-latex.el to that directory, which is "a place where my
> installation keeps automatically loaded startup files".

Yes.  I am sorry this passage remained in the INSTALL file.  It is
very confusing.  The passages before that should clarify most of the
stuff.  You are not supposed to copy preview-latex.el anywhere
yourself, even though the load statement might still apply.

This will get fixed, but I'll not commit anything in the next days
until I see what Savannah is up to.

I already tried sending them the repo, but the mail bounced because of
the size.  But I guess I'll be hearing from them.

Uh, Frank?  Could you _please_ declare the coding system of your
mails?  It is a nuisance to clean them up by hand.

--=20
David Kastrup, Kriemhildstr. 15, 44793 Bochum


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click