bug-auctex
[Top][All Lists]
Advanced

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

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


From: Liyu Gong
Subject: 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,  <address@hidden> 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





reply via email to

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