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: Oscar Bruno
Subject: Re: LaTeX doesn't find the source file
Date: Sat, 5 Mar 2022 14:00:52 -0800

Hi Ikumi,
 
1. What is the value of `TeX-shell' in the document buffer?
 
Using C-h v I get the following

************
TeX-shell is a variable defined in ‘tex-buf.el’.
Its value is
"C:/emacs/emacs-26.2-x86_64/libexec/emacs/26.2/x86_64-w64-mingw32/cmdproxy.exe"
************

2. What is the value of `process-environment' in the document buffer?
   The result can be quite long and may contain sensitive information.
   Mask the portion which shouldn't be disclosed with "*".

No need to mask any information. Here is the output

************
process-environment is a variable defined in ‘C source code’.
Its value is
("TERM=dumb" "TEXINPUTS=.:c:/Users/bruno/AppData/Roaming/.emacs.d/elpa/auctex-13.1.1/latex:" "windows_tracing_logfile=C:\\BVTBin\\Tests\\installpackage\\csilogfile.log" "windows_tracing_flags=3" "windir=C:\\WINDOWS" "VISITLOC=C:\\Program Files\\LLNL\\VisIt 2.12.2" "VBOX_INSTALL_PATH=C:\\Program Files\\Oracle\\VirtualBox\\" "USERPROFILE=C:\\Users\\bruno" "USERNAME=bruno" "USERDOMAIN_ROAMINGPROFILE=abbey" "USERDOMAIN=abbey" "TMP=C:\\Users\\bruno\\AppData\\Local\\Temp" "TEMP=C:\\Users\\bruno\\AppData\\Local\\Temp" "SystemRoot=C:\\WINDOWS" "SystemDrive=C:" "SESSIONNAME=Console" "QTJAVA=C:\\Program Files (x86)\\Java\\jre1.8.0_91\\lib\\ext\\QTJava.zip" "PUBLIC=C:\\Users\\Public" "PSModulePath=C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\" "ProgramW6432=C:\\Program Files" "ProgramFiles(x86)=C:\\Program Files (x86)" "ProgramFiles=C:\\Program Files" "ProgramData=C:\\ProgramData" "PROCESSOR_REVISION=3a09" "PROCESSOR_LEVEL=6" "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel" "PROCESSOR_ARCHITECTURE=AMD64" "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" "PATH=C:\\Perl64\\site\\bin;C:\\Perl64\\bin;C:\\Program Files\\Microsoft MPI\\Bin\\;C:\\Program Files\\LLNL\\VisIt 2.12.2;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files\\ImageMagick-6.9.0-Q16;C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\ia32\\compiler;C:\\Program Files\\MATLAB\\R2012a\\bin\\win64;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x86;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\bin\\x64;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\emacs\\emacs-27.2-x86_64\\bin;C:\\Program Files (x86)\\gs\\gs9.06\\bin;C:.;C:\\cygwin\\bin;C:\\Program Files\\ispell-w32\\bin;C:\\Program Files\\Git\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Pandoc\\;C:\\Program Files\\MATLAB\\R2020a\\runtime\\win64;C:\\Program Files\\MATLAB\\R2020a\\bin;C:\\emacs\\emacs-26.2-x86_64\\bin;C:\\Users\\bruno\\AppData\\Local\\Programs\\LLNL\\VisIt 2.7.1;C:\\Program Files (x86)\\SSH Communications Security\\SSH Secure Shell;C:\\Users\\bruno\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\bruno\\AppData\\Local\\Microsoft\\WindowsApps;C:\\texlive\\2020\\bin\\win32;" "OS=Windows_NT" "_OneDrive_=C:\\Users\\bruno\\OneDrive" "NUMBER_OF_PROCESSORS=8" "MSMPI_BIN=C:\\Program Files\\Microsoft MPI\\Bin\\" "MATLAB_SYMBOLIC=matlab" "LOGONSERVER=\\\\ABBEY" "LOCALAPPDATA=C:\\Users\\bruno\\AppData\\Local" "KMP_DUPLICATE_LIB_OK=TRUE" "INTEL_DEV_REDIST=C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\" "HOMEPATH=\\Users\\bruno" "HOMEDRIVE=C:" "FP_NO_HOST_CHECK=NO" "emacs_dir=C:/emacs/emacs-26.2-x86_64" "DriverData=C:\\Windows\\System32\\Drivers\\DriverData" "COMSPEC=C:\\WINDOWS\\system32\\cmd.exe" "COMPUTERNAME=ABBEY" "CommonProgramW6432=C:\\Program Files\\Common Files" "CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files" "CommonProgramFiles=C:\\Program Files\\Common Files" "CLASSPATH=.;C:\\Program Files (x86)\\Java\\jre1.8.0_91\\lib\\ext\\QTJava.zip;" "APPDATA=C:\\Users\\bruno\\AppData\\Roaming" "ALLUSERSPROFILE=C:\\ProgramData")

  This variable may be risky if used as a file-local variable.

Documentation:
List of overridden environment variables for subprocesses to inherit.
Each element should be a string of the form ENVVARNAME=VALUE.

Entries in this list take precedence to those in the frame-local
environments.  Therefore, let-binding ‘process-environment’ is an easy
way to temporarily change the value of an environment variable,
irrespective of where it comes from.  To use ‘process-environment’ to
remove an environment variable, include only its name in the list,
without "=VALUE".

This variable is set to nil when Emacs starts.

If multiple entries define the same variable, the first one always
takes precedence.

Non-ASCII characters are encoded according to the initial value of
‘locale-coding-system’, i.e. the elements must normally be decoded for
use.

See ‘setenv’ and ‘getenv’.

[back]
************

3. In the document buffer, type
ESC : (start-process "dummy" "*output*" TeX-shell TeX-shell-command-option "set") RET
   Then the values of environment variables under `TeX-shell' will be
   inserted in a buffer named "*output*". Provide us the content of the
   buffer, masking sensitive information in the same manner. (After you
   are done, you can delete "*output*" buffer.)

The content of the buffer *output* is the following

************
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\bruno\AppData\Roaming
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.8.0_91\lib\ext\QTJava.zip;
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ABBEY
COMSPEC=C:\WINDOWS\system32\cmd.exe
DISPLAY=w32
DriverData=C:\Windows\System32\Drivers\DriverData
emacs_dir=C:/emacs/emacs-26.2-x86_64
EM_PARENT_PROCESS_ID=5080
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\bruno
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\bruno\AppData\Local
LOGONSERVER=\\ABBEY
MATLAB_SYMBOLIC=matlab
MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\
NUMBER_OF_PROCESSORS=8
_OneDrive_=C:\Users\bruno\OneDrive
OS=Windows_NT
PATH=C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files\LLNL\VisIt 2.12.2;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-6.9.0-Q16;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler;C:\Program Files\MATLAB\R2012a\bin\win64;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Live\Shared;C:\emacs\emacs-27.2-x86_64\bin;C:\Program Files (x86)\gs\gs9.06\bin;C:.;C:\cygwin\bin;C:\Program Files\ispell-w32\bin;C:\Program Files\Git\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Pandoc\;C:\Program Files\MATLAB\R2020a\runtime\win64;C:\Program Files\MATLAB\R2020a\bin;C:\emacs\emacs-26.2-x86_64\bin;C:\Users\bruno\AppData\Local\Programs\LLNL\VisIt 2.7.1;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;C:\texlive\2020\bin\win32;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre1.8.0_91\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\bruno\AppData\Local\Temp
TERM=dumb
TEXINPUTS=.:c:/Users/bruno/AppData/Roaming/.emacs.d/elpa/auctex-13.1.1/latex:
TMP=C:\Users\bruno\AppData\Local\Temp
USERDOMAIN=abbey
USERDOMAIN_ROAMINGPROFILE=abbey
USERNAME=bruno
USERPROFILE=C:\Users\bruno
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
VISITLOC=C:\Program Files\LLNL\VisIt 2.12.2
windir=C:\WINDOWS
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

Process dummy finished
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\bruno\AppData\Roaming
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.8.0_91\lib\ext\QTJava.zip;
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ABBEY
COMSPEC=C:\WINDOWS\system32\cmd.exe
DISPLAY=w32
DriverData=C:\Windows\System32\Drivers\DriverData
emacs_dir=C:/emacs/emacs-26.2-x86_64
EM_PARENT_PROCESS_ID=5080
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\bruno
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\bruno\AppData\Local
LOGONSERVER=\\ABBEY
MATLAB_SYMBOLIC=matlab
MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\
NUMBER_OF_PROCESSORS=8
_OneDrive_=C:\Users\bruno\OneDrive
OS=Windows_NT
PATH=C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files\LLNL\VisIt 2.12.2;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-6.9.0-Q16;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler;C:\Program Files\MATLAB\R2012a\bin\win64;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Live\Shared;C:\emacs\emacs-27.2-x86_64\bin;C:\Program Files (x86)\gs\gs9.06\bin;C:.;C:\cygwin\bin;C:\Program Files\ispell-w32\bin;C:\Program Files\Git\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Pandoc\;C:\Program Files\MATLAB\R2020a\runtime\win64;C:\Program Files\MATLAB\R2020a\bin;C:\emacs\emacs-26.2-x86_64\bin;C:\Users\bruno\AppData\Local\Programs\LLNL\VisIt 2.7.1;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;C:\texlive\2020\bin\win32;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre1.8.0_91\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\bruno\AppData\Local\Temp
TERM=dumb
TEXINPUTS=.:c:/Users/bruno/AppData/Roaming/.emacs.d/elpa/auctex-13.1.1/latex:
TMP=C:\Users\bruno\AppData\Local\Temp
USERDOMAIN=abbey
USERDOMAIN_ROAMINGPROFILE=abbey
USERNAME=bruno
USERPROFILE=C:\Users\bruno
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
VISITLOC=C:\Program Files\LLNL\VisIt 2.12.2
windir=C:\WINDOWS
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

Process dummy finished
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\bruno\AppData\Roaming
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.8.0_91\lib\ext\QTJava.zip;
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ABBEY
COMSPEC=C:\WINDOWS\system32\cmd.exe
DISPLAY=w32
DriverData=C:\Windows\System32\Drivers\DriverData
emacs_dir=C:/emacs/emacs-26.2-x86_64
EM_PARENT_PROCESS_ID=5080
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\bruno
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\bruno\AppData\Local
LOGONSERVER=\\ABBEY
MATLAB_SYMBOLIC=matlab
MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\
NUMBER_OF_PROCESSORS=8
_OneDrive_=C:\Users\bruno\OneDrive
OS=Windows_NT
PATH=C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files\LLNL\VisIt 2.12.2;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-6.9.0-Q16;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler;C:\Program Files\MATLAB\R2012a\bin\win64;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Live\Shared;C:\emacs\emacs-27.2-x86_64\bin;C:\Program Files (x86)\gs\gs9.06\bin;C:.;C:\cygwin\bin;C:\Program Files\ispell-w32\bin;C:\Program Files\Git\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Pandoc\;C:\Program Files\MATLAB\R2020a\runtime\win64;C:\Program Files\MATLAB\R2020a\bin;C:\emacs\emacs-26.2-x86_64\bin;C:\Users\bruno\AppData\Local\Programs\LLNL\VisIt 2.7.1;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;C:\texlive\2020\bin\win32;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre1.8.0_91\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\bruno\AppData\Local\Temp
TERM=dumb
TEXINPUTS=.:c:/Users/bruno/AppData/Roaming/.emacs.d/elpa/auctex-13.1.1/latex:
TMP=C:\Users\bruno\AppData\Local\Temp
USERDOMAIN=abbey
USERDOMAIN_ROAMINGPROFILE=abbey
USERNAME=bruno
USERPROFILE=C:\Users\bruno
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
VISITLOC=C:\Program Files\LLNL\VisIt 2.12.2
windir=C:\WINDOWS
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

Process dummy finished
************

Did AUCTeX run successfully for you at some point in the past? If so,
going back to earlier version might be relavant more or less. To do so,
download one of the package files from
https://elpa.gnu.org/packages/auctex.html , decompress it and specify
the resultant tar file as the argument for M-x package-install-file RET

Auctex did run successfully on this computer in the past. Following your suggestion I installed auctex-12.2.4, but not joy: the error persists.

Thanks for all your help.

Oscar

On Thu, Mar 3, 2022 at 10:22 PM Ikumi Keita <ikumi@ikumi.que.jp> wrote:
Hi Oscar,

>>>>> Oscar Bruno <obruno@caltech.edu> writes:
> I run

> runemacs -q -no-site-file --eval "(progn (package-initialize t)
> (package-activate 'auctex))"

> in the directory C:\tmp, which opened emacs. As you mentioned, the mode
> line indicates  LaTeX/P as mode name.

> I then opened the file test.tex by using C-x C-f and then  c:/tmp/test.tex,
> which opened the file test.tex.

> II then run C-c C-c latex, and I got once again the same error message -- I
> include it below.

> ***********
> ERROR: I can't find file `test.tex'.

Thank you. Then neither your personal config nor other ELPA packages
hinders AUCTeX.

Currently, I have no idea why such error occurs, so all we can do now is
to examine several diagnosises step by step.
0. Use ordinary emacs session below. (The above "minimal" session is no
   longer necessary.)
1. What is the value of `TeX-shell' in the document buffer?
2. What is the value of `process-environment' in the document buffer?
   The result can be quite long and may contain sensitive information.
   Mask the portion which shouldn't be disclosed with "*".
3. In the document buffer, type
ESC : (start-process "dummy" "*output*" TeX-shell TeX-shell-command-option "set") RET
   Then the values of environment variables under `TeX-shell' will be
   inserted in a buffer named "*output*". Provide us the content of the
   buffer, masking sensitive information in the same manner. (After you
   are done, you can delete "*output*" buffer.)

> Would it be possible (if potentially useful) to install an earlier version
> of Auctex? The "package-list-packages" route only seems to allow the
> installation of the latest version of auctex (13.1).

Did AUCTeX run successfully for you at some point in the past? If so,
going back to earlier version might be relavant more or less. To do so,
download one of the package files from
https://elpa.gnu.org/packages/auctex.html , decompress it and specify
the resultant tar file as the argument for M-x package-install-file RET
.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine

reply via email to

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