![컴파일의 Sublime Text 3 texlive 출력:](https://rvso.com/image/330722/%EC%BB%B4%ED%8C%8C%EC%9D%BC%EC%9D%98%20Sublime%20Text%203%20texlive%20%EC%B6%9C%EB%A0%A5%3A.png)
Windows 10 x64 시스템에서 Sublime Text 3 texlive를 실행하려고 합니다. 컴파일하면 다음 메시지가 나타납니다.
[Compiling C:\Users\devin\Documents\LEGrp\tex\setup_instructions\ISUR setup instructions.tex]
TraditionalBuilder: Engine: pdflatex. Invoking latexmk... done.
Output from compilation:
하지만 PDF 파일이 생성되거나 열리지 않습니다. 저는 SumatraPDF를 사용하고 있습니다. 이 문제를 검색해 보았지만 명시적인 오류가 없으면 디버깅하기가 어렵습니다. 내 LaTeXTools.sublime-settings 파일의 "windows" 섹션에는 다음이 있습니다.
"windows": {
// Path used when invoking tex & friends; "" is fine for MiKTeX
// For TeXlive 2011 (or other years) use
// "texpath" : "C:\\texlive\\2011\\bin\\win32;$PATH",
"texpath" : "C:\\texlive\\2015\\bin\\win32;$PATH",
// TeX distro: "miktex" or "texlive"
"distro" : "texlive",
// Command to invoke Sumatra. If blank, "SumatraPDF.exe" is used (it has to be on your PATH)
"sumatra": "",
// Command to invoke Sublime Text. Used if the keep_focus toggle is true.
// If blank, "subl.exe" or "sublime_text.exe" will be used.
"sublime_executable": "",
// how long (in seconds) to wait after the jump_to_pdf command completes
// before switching focus back to Sublime Text. This may need to be
// adjusted depending on your machine and configuration.
"keep_focus_delay": 0.5
},
도와주세요!
답변1
이 줄을 받고 있다는 사실은 Output from compilation:
로그 파일이 생성되지 않았음을 나타냅니다. 이는 LaTeX 또는 latexmk를 시작하는 데 문제가 있었기 때문일 가능성이 높습니다. 아마도 출력이 없기 때문에 실행 latexmk
자체에 문제가 있는 것 같습니다. 즉, 실행 중 오류가 발생하여 실행 파일을 찾을 수 없습니다. Sublime 콘솔에는 몇 가지 유용한 정보가 있을 수 있습니다. 보려면보다메뉴를 선택하고콘솔 표시옵션.
시도해 볼 수 있는 또 다른 방법은 latexmk
명령 프롬프트에서 실행하는 것입니다. LaTeXTools가 사용하는 명령은 다음과 같습니다.
C:\texlive\2015\bin\win32\latexmk.exe -cd -f -pdf -interaction=nonstopmode -synctex=1 "C:\Users\devin\Documents\LEGrp\tex\setup_instructions\ISUR setup instructions.tex"
명령 프롬프트에서 실행해 보고 무슨 일이 일어나는지 확인하세요.
가장 가능성이 높은 원인은 TeXLive의 최소 설치를 설치했기 때문이라고 생각합니다. 이 경우 관리자 tlmgr install latexmk
권한 명령 프롬프트에서 실행해야 합니다.