From ddd88dd31238d1c358df72d321a6962a8de3ee0b Mon Sep 17 00:00:00 2001 From: IloveNooodles Date: Sun, 14 Jul 2024 14:10:19 +0700 Subject: [PATCH] feat: windows settings json --- .vscode/settings.windows.json | 65 ++++++++++++++++++++++++++++++----- 1 file changed, 57 insertions(+), 8 deletions(-) diff --git a/.vscode/settings.windows.json b/.vscode/settings.windows.json index 56bc2d4..dd23fd6 100644 --- a/.vscode/settings.windows.json +++ b/.vscode/settings.windows.json @@ -3,13 +3,21 @@ "latex-workshop.latex.recipe.default": "lastUsed", "latex-workshop.latex.recipes": [ { - "name": "latex_itb_ta WINDOWS", - "tools": ["latex_itb_make", "latex_itb_del", "latex_itb_move"] + "name": "latex_itb_ta Thesis", + "tools": ["latex_itb_make_thesis", "latex_itb_move_thesis"] + }, + { + "name": "latex_itb_ta Yudisium", + "tools": ["latex_itb_make_yudisium", "latex_itb_move_yudisium"] + }, + { + "name": "latex_itb_ta Paper", + "tools": ["latex_itb_make_paper", "latex_itb_move_paper"] } ], "latex-workshop.latex.tools": [ { - "name": "latex_itb_make", + "name": "latex_itb_make_thesis", "command": "latexmk", "args": [ "-synctex=1", @@ -24,14 +32,55 @@ "env": {} }, { - "name": "latex_itb_del", - "command": "del", - "args": ["/Q", "%DIR_W32%\\..\\output\\thesis.pdf"] + "name": "latex_itb_make_yudisium", + "command": "latexmk", + "args": [ + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "-pdf", + "-bibtex", + "-outdir=..\\build", + "-cd", + "%DIR_W32%\\yudisium.tex" + ], + "env": {} }, { - "name": "latex_itb_move", + "name": "latex_itb_make_paper", + "command": "latexmk", + "args": [ + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "-pdf", + "-bibtex", + "-outdir=..\\build", + "-cd", + "%DIR_W32%\\paper.tex" + ], + "env": {} + }, + { + "name": "latex_itb_move_thesis", "command": "copy", - "args": ["%OUTDIR_W32%\\thesis.pdf", "%DIR_W32%\\..\\output\\thesis.pdf"] + "args": ["%OUTDIR_W32%\\thesis.pdf", "%DIR_W32%\\..\\output\\thesis.pdf"], + "env": {} + }, + { + "name": "latex_itb_move_yudisium", + "command": "copy", + "args": [ + "%OUTDIR_W32%\\yudisium.pdf", + "%DIR_W32%\\..\\output\\yudisium.pdf" + ], + "env": {} + }, + { + "name": "latex_itb_move_paper", + "command": "copy", + "args": ["%OUTDIR_W32%\\paper.pdf", "%DIR_W32%\\..\\output\\paper.pdf"], + "env": {} } ], "latex-workshop.synctex.afterBuild.enabled": true,