Tassilo Horn <[email protected]> writes:

> Julien Cubizolles <[email protected]> writes:
>
> Hi Julien,
>
>> Is is possible to define a graphicspath in the File Variables comments
>> of a LaTeX fileĀ ?
>
> I'm not sure, but I think images in TEXINPUTS will also be found.  

From what I read, it should be, yes.

> Then a file local variable entry like
>
>   %% eval: (setenv "TEXINPUTS" (concat (getenv "TEXINPUTS") 
> "path/to/images/:"))

I tried putting the following in both the master and imported tex files,
but it seems the path is not tried, the error message is 

_region_.tex:1:File `./photos/main_droite.png' not found. (page 1) 

so i guess only ./ is searched, not the path I'm trying to add.

--8<---------------cut here---------------start------------->8---
% Local Variables:
% coding: utf-8
% TeX-master: "../../physique-fichier-maitre.tex"
% eval: (setenv "TEXINPUTS" (concat (getenv "TEXINPUTS") 
":/home/wilk/vuibert/vuibert-sup/physique-partie-02/physique-partie-02-chapitre-01/figures/"))
% End:
--8<---------------cut here---------------end--------------->8---



_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to