LoginSignup
9
6

More than 5 years have passed since last update.

VSCodeのLaTeX Workshop 5.3.1でTeXをコンパイルできなくなったときの対処法

Posted at

コンパイルできなくなった原因

LaTeX Workshopの最近のアップデートで"latex-workshop.latex.toolchain"という設定項目がなくなり,"latex-workshop.latex.recipes""latex-workshop.latex.tools"という新しい設定項目になったのが原因でした.

対処法

ユーザー設定の

"latex-workshop.latex.toolchain": [
    {
        "command": "ptex2pdf",
        "args": [
            "-l",
            "-ot",
            "-kanji=utf8 -synctex=1",
            "%DOC%"
        ]
    }
],

"latex-workshop.latex.recipes": [
    {
        "name": "ptex2pdf",
        "tools": [
            "ptex2pdf",
        ]
    }
],
"latex-workshop.latex.tools": [
    {
        "name": "ptex2pdf",
        "command": "ptex2pdf",
        "args": [
            "-l",
            "-ot",
            "-kanji=utf8 -synctex=1",
            "%DOC%"
        ]
    }
],

に書き換えます.

9
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
6