Skip to content

Instantly share code, notes, and snippets.

@lakshya-sky
Created July 12, 2020 18:13
Show Gist options
  • Save lakshya-sky/d43977357eb13c632bfbf3a2c4fa24b9 to your computer and use it in GitHub Desktop.
Save lakshya-sky/d43977357eb13c632bfbf3a2c4fa24b9 to your computer and use it in GitHub Desktop.
vs code task for compiling latex in pdf.
// store in .vscode/tasks.json or in .config/Code/User/tasks.json
// for global user space.
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build Tex to PDF",
"type": "process",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"${file}"
],
"presentation": {
"reveal": "never"
},
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment