Subject: Re: bug#31079: Windows - Emacs-25.3.1 Can't find source.tex file

From: [email-masked]
Date: Sat, 7 Apr 2018 18:06:59 +0200

Hi Liyu and David,

It seems as if auctex is changing the working directory before calling pdflatex. But it doesn't do that with pwd.

Could this depend on the TEXINPUTS environment variable? Liyu, what is its value in your case? You can find it issuing "C-c C-c Other" with

echo %TEXINPUTS%

My value is

.;c:/Users/[omitted]/.emacs.d/elpa/auctex-12.1.1/latex;C:/Users/[omitted]/texmf/tex/;

Note the "." at the beginning, defaulting to the local directory.

Cheers,
J

On 2018-04-07 17:57, Liyu Gong wrote:
> Hi David,
> 
> pdflatex "\input d:/aa.tex" got the same output as pdflatex d:/aa.tex
> 
> Best,
> Liyu