#40 configured build script for VS Code
This commit is contained in:
parent
423173aae4
commit
874aab237a
15
.vscode/tasks.json
vendored
15
.vscode/tasks.json
vendored
|
@ -6,7 +6,7 @@
|
||||||
{
|
{
|
||||||
"label": "latexmk",
|
"label": "latexmk",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "latexmk -latexoption=\"-shell-escape\" main.tex",
|
"command": "${workspaceFolder}/build.sh",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
@ -17,17 +17,8 @@
|
||||||
{
|
{
|
||||||
"label": "clean",
|
"label": "clean",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "latexmk -C; if [ -f chapter/out.tex ]; then rm chapter/out.tex; fi"
|
"command": "${workspaceFolder}/build.sh clean",
|
||||||
},
|
"group": "none",
|
||||||
{
|
|
||||||
"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"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user