From 0b0256403b7e111df0ecdb8ca589f20df787dacd Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 10 Mar 2020 15:42:39 +0100 Subject: 2020-03-10 14:47:00 --- context/data/vscode/tasks.json | 73 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 context/data/vscode/tasks.json (limited to 'context/data/vscode/tasks.json') diff --git a/context/data/vscode/tasks.json b/context/data/vscode/tasks.json new file mode 100644 index 000000000..13f75c188 --- /dev/null +++ b/context/data/vscode/tasks.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 -- cgit v1.2.3