2019-05-23 15:17:12 +00:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "latexmk",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "latexmk -latexoption=\"-shell-escape\" main.tex",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
2020-05-18 21:24:13 +00:00
|
|
|
"dependsOrder": "sequence",
|
2020-05-19 17:35:09 +00:00
|
|
|
"dependsOn": ["clean", "pandoc"]
|
2019-05-23 15:17:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "clean",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "latexmk -C"
|
2020-05-18 21:24:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
]
|
2019-05-23 15:17:12 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|