summaryrefslogtreecommitdiff
path: root/context/data/vscode/extensions/context/tasks
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-06-14 18:53:48 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-06-14 18:53:48 +0200
commitc3e821627fba8ecf4342582ed62e75c5ad36afc0 (patch)
treecc1bee237f26ac5a5e2325a6869a8375e372aa4f /context/data/vscode/extensions/context/tasks
parent36ee3b791e253a00877a7b25e2d94b1dfc90a174 (diff)
downloadcontext-c3e821627fba8ecf4342582ed62e75c5ad36afc0.tar.gz
2019-06-14 17:56:00
Diffstat (limited to 'context/data/vscode/extensions/context/tasks')
-rw-r--r--context/data/vscode/extensions/context/tasks/context.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/context/data/vscode/extensions/context/tasks/context.json b/context/data/vscode/extensions/context/tasks/context.json
new file mode 100644
index 000000000..13f75c188
--- /dev/null
+++ b/context/data/vscode/extensions/context/tasks/context.json
@@ -0,0 +1,73 @@
+{
+ "name" : "context",
+ "tasks" : [
+ {
+ "command" : "context --autogenerate --autopdf ${file}",
+ "group" : "build",
+ "label" : "process tex file",
+ "presentation" : {
+ "clear" : true,
+ "echo" : true,
+ "focus" : false,
+ "panel" : "shared",
+ "reveal" : "always",
+ "showReuseMessage" : false
+ },
+ "type" : "shell",
+ "windows" : {
+ "command" : "chcp 65001 ; context.exe --autogenerate --autopdf ${file}"
+ }
+ },
+ {
+ "command" : "mtxrun --autogenerate --script check ${file}",
+ "group" : "build",
+ "label" : "check tex file",
+ "presentation" : {
+ "clear" : true,
+ "echo" : true,
+ "focus" : false,
+ "panel" : "shared",
+ "reveal" : "always",
+ "showReuseMessage" : false
+ },
+ "type" : "shell",
+ "windows" : {
+ "command" : "chcp 65001 ; mtxrun.exe --autogenerate --script check ${file}"
+ }
+ },
+ {
+ "command" : "mtxrun --script fonts --reload --force",
+ "group" : "build",
+ "label" : "identify fonts",
+ "presentation" : {
+ "clear" : true,
+ "echo" : true,
+ "focus" : false,
+ "panel" : "shared",
+ "reveal" : "always",
+ "showReuseMessage" : false
+ },
+ "type" : "shell",
+ "windows" : {
+ "command" : "chcp 65001 ; mtxrun.exe --script fonts --reload --force"
+ }
+ },
+ {
+ "command" : "mtxrun --script ${file}",
+ "group" : "build",
+ "label" : "process lua file",
+ "presentation" : {
+ "clear" : true,
+ "echo" : true,
+ "focus" : false,
+ "panel" : "shared",
+ "reveal" : "always",
+ "showReuseMessage" : false
+ },
+ "type" : "shell",
+ "windows" : {
+ "command" : "chcp 65001 ; mtxrun.exe --script ${file}"
+ }
+ }
+ ]
+} \ No newline at end of file