auctex
[Top][All Lists]
Advanced

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

Re: AUCTex in WSL cannot find TeX Live in Win


From: Arash Esbati
Subject: Re: AUCTex in WSL cannot find TeX Live in Win
Date: Wed, 24 Aug 2022 11:36:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Hi Keita,

Ikumi Keita <ikumi@ikumi.que.jp> writes:

> I'm talking about the situation when the command is called through wsl
> bash shell. Bash is just a linux binary, so I suspect that it wouldn't
> add suffix ".exe" implicitly when it searches executable file in PATH.
> If there is only "pdflatex.exe" in PATH and no "pdflatex" (without the
> suffix), I guess that bash would insist that "there is no executable
> named pdflatex in PATH", ending up with invoking nothing.

I've never used WSL, but you're right with your assumption[1]:

  Run Windows tools from Linux

  WSL can run Windows tools directly from the WSL command line using
  [tool-name].exe. For example, notepad.exe.
  [...]
  Windows tools must include the file extension, match the file case, and
  be executable. Non-executables including batch scripts. CMD native
  commands like dir can be run with cmd.exe /C command.

Best, Arash

Footnotes:
[1]  
https://docs.microsoft.com/en-us/windows/wsl/filesystems#run-windows-tools-from-linux




reply via email to

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