Le 02/09/2013 08:53, Tassilo Horn a écrit : > TeXnicien de Surface <[email protected]> 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. thanks for all -- Le TeXnicien de Surface _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
