GNU bug report logs - #31079
Windows - Emacs-25.3.1 Can't find source.tex file

Previous Next

Package: auctex;

Reported by: Liyu Gong <liyu.gong <at> uky.edu>

Date: Fri, 6 Apr 2018 19:13:02 UTC

Severity: normal

Tags: notabug

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #65 received at 31079 <at> debbugs.gnu.org (full text, mbox):

From: Liyu Gong <liyu.gong <at> uky.edu>
To: <gojjoe <at> gmail.com>
Cc: 31079 <at> debbugs.gnu.org
Subject: Re: bug#31079: Windows - Emacs-25.3.1 Can't find source.tex file
Date: Sat, 7 Apr 2018 12:20:35 -0400
Hi Joe and David,

My values is:
.:d:/.emacs.d/elpa/auctex-12.1.1/latex:

on the old version which works for the file, the value is:
.;d:/.emacs.d/elpa/auctex-11.91.0/latex;

Note that the path separator are different, for 12.1.1, it is ":", for
11.91.0, it is ";". I'm not sure whether it is important.

By the way, my AucTeX setting up script is:

(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(setq TeX-PDF-mode t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
(add-hook 'LaTeX-mode-hook (lambda() (TeX-fold-mode 1)))

Thanks,
Liyu

On Sat, Apr 7, 2018 at 12:06 PM,  <gojjoe <at> gmail.com> wrote:
> 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




This bug report was last modified 2 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.