コンパイルからの Sublime Text 3 texlive 出力:

コンパイルからの Sublime Text 3 texlive 出力:

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特権のコマンド プロンプトから実行する必要があります。

関連情報