auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] graphicspath as a File variable ?


From: Julien Cubizolles
Subject: Re: [AUCTeX] graphicspath as a File variable ?
Date: Fri, 22 Feb 2013 18:41:24 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> Julien Cubizolles <address@hidden> 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---





reply via email to

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