![Saída texlive do Sublime Text 3 da compilação:](https://rvso.com/image/330722/Sa%C3%ADda%20texlive%20do%20Sublime%20Text%203%20da%20compila%C3%A7%C3%A3o%3A.png)
Estou tentando executar o sublime text 3 texlive em um sistema Windows 10 x64. Quando compilo recebo a seguinte mensagem:
[Compiling C:\Users\devin\Documents\LEGrp\tex\setup_instructions\ISUR setup instructions.tex]
TraditionalBuilder: Engine: pdflatex. Invoking latexmk... done.
Output from compilation:
mas nenhum arquivo PDF é criado ou aberto. Estou usando o SumatraPDF. Tentei pesquisar esse problema, mas sem erros explícitos é difícil depurar. No meu arquivo LaTeXTools.sublime-settings na seção "windows" eu tenho:
"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
},
Por favor ajude!
Responder1
O fato de você estar recebendo a Output from compilation:
linha indica que um arquivo de log não foi gerado, provavelmente porque houve algum problema ao iniciar o LaTeX ou latexmk. Provavelmente, como não há saída, houve algum problema ao executar latexmk
o próprio, ou seja, o executável não pôde ser encontrado e apresentou algum erro ao executar. Pode haver algumas informações úteis no console do Sublime. Para ver, use oVisualizarmenu e selecione oMostrar consoleopção.
Outra coisa que você pode tentar é executar latexmk
no prompt de comando. O comando que o LaTeXTools usa é mais ou menos assim:
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"
Tente executar isso no prompt de comando e veja o que acontece.
Suponho que a causa mais provável é que você instalou a instalação mínima do TeXLive; nesse caso, você precisará executar tlmgr install latexmk
a partir de um prompt de comando elevado.