auctex
[Top][All Lists]
Advanced

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

Re: LaTeX doesn't find the source file


From: Ikumi Keita
Subject: Re: LaTeX doesn't find the source file
Date: Wed, 02 Mar 2022 15:57:43 +0900

Hi Oscar,

>>>>> Oscar Bruno <obruno@caltech.edu> writes:
> 1. Go where the source file is (e.g., "cd c:/tmp") and run pdflatex
>> directly (without involving emacs):
>> pdflatex SOURCEFILE.tex
>> Does that run normally or stop with the same error?

> This does not result in error. In fact, this is the method I have been
> using to do my work since I found this problem. Below please find a sample
> output:

Thanks for providing console output. According to it, it seems that you
have two (or more) instances of TeX Live installation, TeX Live
2015/Cygwin and TeX Live 2020/W32TeX.

> ****************
> abbey $ pdflatex test.tex
> This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Cygwin)
                                                           ^^^^^^^^^^^
In your first message, it is reported as follows:
> Running `LaTeX' on `ParallelIFGF' with ``pdflatex  -file-line-error
>  -interaction=nonstopmode "ParallelIFGF.tex"''
> This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX)
                                                           ^^^^^^^^^^^
I'm curious whether the latter runs successfully on the command prompt.
Can you test it? (It would be necessary to manipulate PATH environment
variable to give higher priority to TeX Live 2020/W32TeX on the command
prompt.)

And it seems that you are using cygwin bash terminal, not w32 command
prompt. There is possibility that those discrepancy is the source of
trouble. Could you include the output of M-x TeX-submit-bug-report in
your next reply? I'd like to know that your emacs binary is cygwin or
w32-native, in particular.

> 2. If that doesn't cause error, try diabling your personal setting for
>> emacs according to AUCTeX FAQ.
>> (The paragraph which begins with
>> Second, you can try to figure out if...
>> in https://www.gnu.org/software/auctex/manual/auctex/FAQ.html#FAQ )
>> On windows, the command `emacs -q -no-site-file -l auctex' should be
>> replaced with `runemacs -q -no-site-file -l auctex'.

> This test did provide an interesting result -- although I cannot say what
> the problem is, it may give you a useful hint.

> The test is as you suggested:

> ****************
> abbey $ ls
> test.aux  test.log  test.pdf  test.tex  test.tex~  texput.log
> abbey $ runemacs -q -no-site-file -l auctex test.tex
> ****************

> As a result of this an emacs window opened with the following error message:

> ****************
> Cannot open load file: No such file or directory, auctex
> ****************

Ah, sorry. For ELPA installation, the activation must been done in
another way... Well, the revised command line is
runemacs -q -no-site-file --eval "(progn (require 'package) (package-activate 
'auctex))"
(This quotation is for w32 command prompt. I'm not sure it works for
cygwin bash terminal.)

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine



reply via email to

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