[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] images for preview

From: Tassilo Horn
Subject: Re: [Bug-AUCTeX] images for preview
Date: Tue, 03 Sep 2013 09:38:55 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:

>>>> I've just installed the last git version
>>>> Here is the message given by emacs when I open a latex file:
>>>> Cannot find image file
>>>> `/home/novatux/local/git-code/auctex/preview/auctex/images/prvtex24.xpm'
>>>> but in fact this image is in
>>>> `/home/novatux/local/git-code/auctex/preview/images/prvtex24.xpm'
>>>> No auctex under preview.
>>> You seem to run auctex from the git checkout.  In that case, you have to
>>> set TeX-data-directory to that.
>>>   (setq TeX-data-directory "/home/novatux/local/git-code/auctex/")
>> I'm sorry, I was not clear at all.
>> I've setq correctly the TeX-data-directory.
>> The problem is in the path which is considered by aucTeX to find the
>> image. It is expecting the image to be in
>> [TeX-data-directory]preview/auctex/images/
>> whereas the image really is in
>> [TeX-data-directory]preview/images/
>> There is, in the aucTeX files tree installed on my machine, no auctex
>> directory under preview and the image directory is a direct child of
>> [TeX-data-directory]preview.
>> I hope to be clearer this time.
> The source tree of AUCTeX is not suitable for running in-place.  Please
> configure a suitable place to install AUCTeX to and run "make install".

Of course, David is right.  But if you still want to run it in-place,
you could also set

  (setq preview-datadir (expand-file-name "preview" TeX-data-directory))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]