[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] images for preview
From: |
David Kastrup |
Subject: |
Re: [Bug-AUCTeX] images for preview |
Date: |
Tue, 03 Sep 2013 07:16:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
TeXnicien de Surface <address@hidden> writes:
> Le 02/09/2013 08:53, Tassilo Horn a écrit :
>> TeXnicien de Surface <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".
--
David Kastrup