Re: preview-latex 0.9 released...

David Kastrup <[email protected]> Thu, 03 Mar 2005 20:56:10 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <[email protected]>
Ralf Angeli <[email protected]> writes:

> * David Kastrup (2005-03-03) writes:
>
>> This is the large update everybody has been waiting for.
>
> Cool!
>
>> dvipng (version 1.4 or later: teTeX-3.0
>> works, TeXlive2004 not)
>
> Ouch!  Why is that?
>
>> The installation procedure has been made more flexible and robust,
>> more conservative in the installation choices, and the Lisp startup
>> file will now be installed automatically.
>
> Okay, I just made a `cvs up', `make clean', `./autogen.sh' and
> `./configure'.  This is what I got in Makefile:
>
> prefix = /usr/local$(null)
> lispdir = ${datadir}/emacs/22.0.50/site-lisp$(null)
> icondir = ${packagelispdir}/images$(null)
> datadir = ${prefix}/share$(null)
> packagedir = no$(null)
> packagelispdir = ${datadir}/emacs/22.0.50/site-lisp/preview$(null)
> auctexdir = /usr/local/share/emacs/site-lisp$(null)
>
> Is it supposed to be like this?

Depends on the meaning of "supposed".  The package selection walks
through a set of patterns in load-path.  If you think this
undesirable, we have several options:

a) walk the patterns in load-path back to front.  I don't know how
much more desirable the results will usually be.

b) Go through more special patterns first, relaxing requirements until
the first hit registers.  That's how the TeX directory selection gets
done right now.

> I was used to get a site-lisp directory which is not special to a
> certain Emacs version.  That means usually preview-latex was
> installed into /usr/local/share/emacs/site-lisp/preview/.
>
> (BTW, I did not use `preview-report-bug' because I haven't installed
> the new version yet due to this issue.)

What issue?  If you want a different path, specify a different path to
configure.  No problem there, is it?

If there is: I accept patches.  Ok, maybe now is not the best time for
them, given that I have two conferences in the next 6 days, but the
principle is there.

Interestingly, when compiling the Fedora RPM, it picked the "general"
site-lisp directory.

-- 
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