KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › visual studio code 의 latex editor 상 오류

jack.p78928 | 2022.07.18 02:40:20 | 메뉴 건너뛰기 쓰기

안녕하세요. 취미로 배운것들을 정리하고자 latex를 시작하게 된 중학생입니다.

기존 사용하던 overleaf 환경이 온라인인 관계로 학교에서 사용할 수 없어서 VScode의 latex editor란 extension의 도움을 받아 문서를 작성하고자 하였습니다. 이에 새 노트북을 구해 windows 10에서 latex 작성용으로 세팅을 하고 있습니다.

문제는 환경변수쪽 문제로 보이는 에러가 자꾸 발생한다는 것입니다.

패키지같은 경우는 Tex live에서 다운을 받았습니다 (여러 방법 중 ~~.exe 를 통해 받았습니다. )

제가 기존 overleaf에서 작성한 파일을 실행해보니 다음과 같은 로그가 떴습니다

[02:23:06] BUILD command invoked.

[02:23:06] The document of the active editor: file:///d:/programming/bullshits/latex/fuction_and_graphs/functions_and_graphs.tex
[02:23:06] The languageId of the document: latex
[02:23:06] Current workspace folders: ["file:///d:/programming/bullshits"]
[02:23:06] Found root file from active editor: d:\programming\bullshits\latex\fuction_and_graphs\functions_and_graphs.tex
[02:23:06] Keep using the same root file: d:\programming\bullshits\latex\fuction_and_graphs\functions_and_graphs.tex
[02:23:06] Building root file: d:\programming\bullshits\latex\fuction_and_graphs\functions_and_graphs.tex
[02:23:06] Build root file d:\programming\bullshits\latex\fuction_and_graphs\functions_and_graphs.tex
[02:23:06] outDir: d:/programming/bullshits/latex/fuction_and_graphs
[02:23:06] Recipe step 1: latexmk
[02:23:06] Recipe step 1 args: ["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf",
           "-outdir=d:/programming/bullshits/latex/fuction_and_graphs",
           "d:/programming/bullshits/latex/fuction_and_graphs/functions_and_graphs"]
[02:23:06] Recipe step env: {}
[02:23:06] cwd: d:\programming\bullshits\latex\fuction_and_graphs
[02:23:06] LaTeX build process spawned. PID: 9348.
[02:23:06] LaTeX fatal error: spawn latexmk ENOENT, 
           'latexmk'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α׷�, �Ǵ���ġ ������ �ƴմϴ�.
           . PID: 9348.
[02:23:06] Does the executable exist? $PATH: undefined
[02:23:06] Does the executable exist? $Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
                                             C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;
                                             C:\Users\jackp\AppData\Local\Programs\Python\Python310\Scripts\;
                                             C:\Users\jackp\AppData\Local\Programs\Python\Python310\;
                                             C:\Users\jackp\AppData\Local\Microsoft\WindowsApps;
                                             C:\Users\jackp\AppData\Local\Programs\Microsoft VS Code\bin;
                                             C:\texlive\2022\bin\win32;
[02:23:06] The environment variable $SHELL: undefined

이러한 로그를 보임과 동시에 VScode에서 자체적으로

LaTeX fatal error: spawn latexmk ENOENT

에러 메세지를 띄웠습니다.

 

무었이 문제이고, 그 해결책이 감이 잘 안잡힙니다. 고수분들 도와주세요

 

p.s. 디렉토리 이름은 생각나는게 없어 막 지은 것입니다. 양해부탁드려요

댓글 [4]

댓글 쓰기

목록 삭제

KTUG 한국 텍 사용자 그룹