summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-16 21:11:40 +0000
committerKarl Berry <karl@freefriends.org>2020-03-16 21:11:40 +0000
commit2492300860bc8d58013520b5f27518e886d19216 (patch)
tree77e721f9063fa9306199d9cb24b20fe1febd0887 /Master/texmf-dist/context
parent5f4bef024b26c01d41b3700e8e320b8a1145b5a9 (diff)
context (16mar20)
git-svn-id: svn://tug.org/texlive/trunk@54364 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/context')
-rw-r--r--Master/texmf-dist/context/data/vscode/settings.json2
-rw-r--r--Master/texmf-dist/context/data/vscode/tasks.json73
-rw-r--r--Master/texmf-dist/context/data/vscode/vscode-context.cmd2
3 files changed, 75 insertions, 2 deletions
diff --git a/Master/texmf-dist/context/data/vscode/settings.json b/Master/texmf-dist/context/data/vscode/settings.json
index f2c9ddf3251..89f43520ec5 100644
--- a/Master/texmf-dist/context/data/vscode/settings.json
+++ b/Master/texmf-dist/context/data/vscode/settings.json
@@ -23,7 +23,7 @@
"workbench.colorTheme": "ConTeXt",
// "[context.pdf]": { "files.encoding": "cp1252"},
"terminal.integrated.fontSize": 10,
- "terminal.integrated.rendererType": "dom",
+ "terminal.integrated.rendererType": "canvas",
"workbench.colorCustomizations": {
"terminal.ansiBlack": "#000000",
"terminal.ansiWhite": "#FFFFFF",
diff --git a/Master/texmf-dist/context/data/vscode/tasks.json b/Master/texmf-dist/context/data/vscode/tasks.json
new file mode 100644
index 00000000000..13f75c18839
--- /dev/null
+++ b/Master/texmf-dist/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
diff --git a/Master/texmf-dist/context/data/vscode/vscode-context.cmd b/Master/texmf-dist/context/data/vscode/vscode-context.cmd
index c6e1a89ce73..00360e73477 100644
--- a/Master/texmf-dist/context/data/vscode/vscode-context.cmd
+++ b/Master/texmf-dist/context/data/vscode/vscode-context.cmd
@@ -4,4 +4,4 @@ rem chcp 65001
rem I need to figure out how to detach the instance
-start "vs code context" code --ignore-gpu-blacklist --reuse-window --extensions-dir %~dp0\extensions --install-extension context %* 2>&1 nul
+start "vs code context" code --reuse-window --extensions-dir %~dp0\extensions --install-extension context %* 2>&1 nul