You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FAQ says "VS Code supports WSL through [Remote - WSL]. LaTeX Workshop works well with the extension." How?
If you have LaTeX installed under WSL (e.g. by installing TeXLive under WSL), then try to open (or create) your .tex file using the File | Open command in VSC, LaTeX Workshop tries to use Windows paths (starting from C:) rather than WSL paths (starting from the WSL root '/'). And you get various "file not found" errors, since the LaTeX installation directory isn't on the Windows PATH.
The secret apparently is to open the .tex file using Remote-WSL: Open folder in WSL...
IMO, it would be helpful to explain this in the FAQ; I just spent an hour or so trying to remember how I did this the last time (some months ago...some of us have short memories).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The FAQ says "VS Code supports WSL through [Remote - WSL]. LaTeX Workshop works well with the extension." How?
If you have LaTeX installed under WSL (e.g. by installing TeXLive under WSL), then try to open (or create) your .tex file using the
File | Open
command in VSC, LaTeX Workshop tries to use Windows paths (starting from C:) rather than WSL paths (starting from the WSL root '/'). And you get various "file not found" errors, since the LaTeX installation directory isn't on the Windows PATH.The secret apparently is to open the .tex file using
Remote-WSL: Open folder in WSL...
IMO, it would be helpful to explain this in the FAQ; I just spent an hour or so trying to remember how I did this the last time (some months ago...some of us have short memories).
Beta Was this translation helpful? Give feedback.
All reactions