Closed jdw-heaven closed 6 months ago
Below is the LaTeX Workshop Log. [20:47:57.528][Build] Recipe step 1 The command is xelatex:["-synctex=1","-interaction=nonstopmode","-file-line-error","1"]. [20:47:57.528][Build] env: undefined [20:47:57.528][Build] root: %WS1%/1.tex [20:47:57.528][Build] cwd: %WS1% [20:47:57.537][Build] LaTeX build process spawned with PID undefined. [20:47:57.539][Build] LaTeX fatal error on PID undefined. Error: spawn xelatex ENOENT [20:47:57.539]Error: spawn xelatex ENOENT at Process.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [20:47:57.539][Build] Does the executable exist? $PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games, $Path: undefined, $SHELL: /bin/bash [20:47:57.540][Build]
I've already add texlive to my environment. As below:
export PATH=/usr/local/texlive/2020/bin/x86_64-linux:$PATH export PATH=/usr/local/texlive/2020/texmf-dist/scripts/latexindent:$PATH export MANPATH=/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH
sorry, the path is 2023, but it isn't work again. Where's the peroblem?
I got it! I need to edit global var. not local var. .
Environment*
The Issue*
Below is the LaTeX Workshop Log. [20:47:57.528][Build] Recipe step 1 The command is xelatex:["-synctex=1","-interaction=nonstopmode","-file-line-error","1"]. [20:47:57.528][Build] env: undefined [20:47:57.528][Build] root: %WS1%/1.tex [20:47:57.528][Build] cwd: %WS1% [20:47:57.537][Build] LaTeX build process spawned with PID undefined. [20:47:57.539][Build] LaTeX fatal error on PID undefined. Error: spawn xelatex ENOENT [20:47:57.539]Error: spawn xelatex ENOENT at Process.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [20:47:57.539][Build] Does the executable exist? $PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games, $Path: undefined, $SHELL: /bin/bash [20:47:57.540][Build]
I've already add texlive to my environment. As below:
TexLive2023环境配置
export PATH=/usr/local/texlive/2020/bin/x86_64-linux:$PATH export PATH=/usr/local/texlive/2020/texmf-dist/scripts/latexindent:$PATH export MANPATH=/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH