Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

VScodeでlatexファイルをコンパイルしてできたpdfがまとまってほしい

質問の詳細
例えば"my_latexfile"というフォルダの中の"test.tex"をVScodeでコンパイルして生成されたpdfがその中の"output"という名前のフォルダ内にまとまってほしいのですが、
どうやって"setting.json"を変えればいいかわからないですので教えてほしいです。

以下具体的なコードスクリーンショット 2025-09-16 043407.png

setting.json
{
// 日本語文書で単語移動を使うため、助詞や読点、括弧を区切り文字として指定する
"editor.wordSeparators": "./\()"'-:,.;<>~!@#$%^&*|+=[]{}`~? 、。「」【】『』()!?てにをはがのともへでや",

// 設定: LaTeX Workshop

"latex-workshop.latex.tools": [
    {
        "name": "Latexmk (LuaLaTeX)",
        "command": "latexmk",
        "args": [
            "-f", "-gg", "-lualatex", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%"
        ]
    },
    {
        "name": "Latexmk (XeLaTeX)",
        "command": "latexmk",
        "args": [
            "-f", "-gg", "-xelatex", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%"
        ]
    },
    {
        "name": "Latexmk (upLaTeX)",
        "command": "latexmk",
        "args": [
            "-f", "-gg", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%"
        ]
    },
    {
        "name": "Latexmk (pLaTeX)",
        "command": "latexmk",
        "args": [
            "-f", "-gg", "-latex='platex'", "-latexoption='-kanji=utf8 -no-guess-input-env'", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%"
        ]
    }
],

"latex-workshop.latex.recipes": [
    {
        "name": "LuaLaTeX",
        "tools": [
            "Latexmk (LuaLaTeX)"
        ]
    },
    {
        "name": "XeLaTeX",
        "tools": [
            "Latexmk (XeLaTeX)"
        ]
    },
    {
        "name": "upLaTeX",
        "tools": [
            "Latexmk (upLaTeX)"
        ]
    },
    {
        "name": "pLaTeX",
        "tools": [
            "Latexmk (pLaTeX)"
        ]
    }
],

// ★★★ デフォルトのコンパイル方法を「LuaLaTeX」に指定する設定 ★★★
"latex-workshop.latex.recipe.default": "LuaLaTeX",

"latex-workshop.latex.magic.args": [
    "-f", "-gg", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%"
],

"latex-workshop.latex.clean.fileTypes": [
    "*.aux", "*.bbl", "*.blg", "*.idx", "*.ind", "*.lof", "*.lot", "*.out", "*.toc", "*.acn", "*.acr", "*.alg", "*.glg", "*.glo", "*.gls", "*.ist", "*.fls", "*.log", "*.fdb_latexmk", "*.synctex.gz",
    "_minted*", "*.nav", "*.snm", "*.vrb"
],

"latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.autoBuild.run": "onSave",

"[tex]": {
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.tabSize": 2
},

"[latex]": {
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.tabSize": 2
},

"[bibtex]": {
    "editor.tabSize": 2
},

"latex-workshop.intellisense.package.enabled": true

}

0 likes

No Answers yet.

Your answer might help someone💌