From 874aab237af111d0a7e83cbcc5dc1324ef6e4349 Mon Sep 17 00:00:00 2001 From: Dominik Becker Date: Sun, 28 Jun 2020 23:59:47 +0200 Subject: [PATCH] #40 configured build script for VS Code --- .vscode/tasks.json | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d6c252c..5c95be7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "latexmk", "type": "shell", - "command": "latexmk -latexoption=\"-shell-escape\" main.tex", + "command": "${workspaceFolder}/build.sh", "group": { "kind": "build", "isDefault": true @@ -17,17 +17,8 @@ { "label": "clean", "type": "shell", - "command": "latexmk -C; if [ -f chapter/out.tex ]; then rm chapter/out.tex; fi" - }, - { - "label": "pandoc", - "type": "shell", - "command": [ - "pandoc --filter pandoc-crossref --filter pandoc-citeproc ", - "-M cref=true --top-level-division=chapter ", - "--bibliography library/library.bib --biblatex ", - "-o chapter/out.tex chapter/*.md" - ] + "command": "${workspaceFolder}/build.sh clean", + "group": "none", } ] } \ No newline at end of file