|
25 | 25 | // Terrible HACK to get PATH expanded, so that also when NOT in a container, 'xmlatex' is found |
26 | 26 | // (This is only needed to make 'build' work, e.g. via F5 or the green 'Build LaTeX project' icon) |
27 | 27 | // Note: when run from OUTSIDE a container, the (full) path INSIDE the container will be different !!!! |
| 28 | + // WARNING: in the root_folder %RELATIVE_DIR is empty, and you'll process .//myfile.tex ... |
| 29 | + // (Removing the ./ infra would give wrong path /myfile.tex ) |
28 | 30 | "args": [ |
29 | 31 | "-c", |
30 | | - "cd %WORKSPACE_FOLDER%; export DEBUG=\"$DEBUG\" PATH=\"$PATH:%WORKSPACE_FOLDER%/xmScripts\"; xmlatex $DEBUG compilePdf ./%RELATIVE_DIR%/%DOCFILE_EXT%" |
| 32 | + "cd %WORKSPACE_FOLDER%; export DEBUG=\"$DEBUG\" PATH=\"$PATH:%WORKSPACE_FOLDER%/xmScripts\"; xmlatex $DEBUG bake --force --compile pdf ./%RELATIVE_DIR%/%DOCFILE_EXT%" |
31 | 33 | ], |
32 | 34 | "env": { |
33 | 35 | "DEBUG": "", |
|
62 | 64 | { |
63 | 65 | "label": "SERVE", |
64 | 66 | "alignment": "right", |
65 | | - "task": "All", |
| 67 | + "task": "SERVE", |
66 | 68 | "description": "Build and publish this project.", |
67 | 69 | "tooltip": "Build and publish this repo." |
68 | 70 | }, |
|
79 | 81 | { |
80 | 82 | "task": "Preview in Simple Browser", |
81 | 83 | "label": "Preview in Simple Browser", |
| 84 | + "description": "View the local webserver in a preview window", |
82 | 85 | // "description": "Start local Ximera webserver.", |
83 | 86 | "problemMatcher": [], |
| 87 | + }, |
| 88 | + { |
| 89 | + "task": "Delete all", |
| 90 | + "label": "Delete all HTML and PDFs", |
| 91 | + "description": "Remove all generated files", |
| 92 | + "problemMatcher": [], |
84 | 93 | }, |
| 94 | + |
85 | 95 | { |
86 | 96 | "label": "Bake", |
87 | 97 | "alignment": "right", |
|
90 | 100 | "tooltip": "Bake this project." |
91 | 101 | }, |
92 | 102 | { |
93 | | - "task": "Bake standard", |
94 | | - "label": "Bake standard PDFs (with answers)", |
95 | | - "description": "Make full PDF's. ('standaard')", |
| 103 | + "task": "Bake pdf", |
| 104 | + "label": "Bake PDF's (with answers)", |
| 105 | + "description": "Make PDF's.", |
| 106 | + "problemMatcher": [], |
| 107 | + }, |
| 108 | + { |
| 109 | + "task": "Bake pdf (force rebuild)", |
| 110 | + "label": "Force (re-)Bake PDF's (with answers)", |
| 111 | + "description": "Make PDF's.", |
96 | 112 | "problemMatcher": [], |
97 | 113 | }, |
98 | 114 | { |
|
101 | 117 | "description": "Make handout PDF's.", |
102 | 118 | "problemMatcher": [], |
103 | 119 | }, |
| 120 | + { |
| 121 | + "task": "Bake handout (fore rebuild)", |
| 122 | + "label": "Force (re-)Bake handout PDF's (without answers)", |
| 123 | + "description": "Make handout PDF's.", |
| 124 | + "problemMatcher": [], |
| 125 | + }, |
| 126 | + { |
| 127 | + "label": "Frost", |
| 128 | + "alignment": "right", |
| 129 | + "task": "Frost", |
| 130 | + "description": "Frost this project.", |
| 131 | + "tooltip": "Frost this project." |
| 132 | + }, |
104 | 133 | { |
105 | 134 | "label": "Serve", |
106 | 135 | "alignment": "right", |
107 | 136 | "task": "Serve", |
108 | | - "description": "Serve this project (does also 'frost', but no 'bake').", |
| 137 | + "description": "Serve this project.", |
109 | 138 | "tooltip": "Serve this project." |
110 | 139 | }, |
111 | 140 | { |
|
115 | 144 | "problemMatcher": [], |
116 | 145 | }, |
117 | 146 | { |
118 | | - "task": "Delete standard", |
119 | | - "label": "Delete all standard PDFs", |
120 | | - "problemMatcher": [], |
121 | | - }, |
122 | | - { |
123 | | - "task": "Delete handout", |
124 | | - "label": "Delete all handout PDFs", |
125 | | - "problemMatcher": [], |
126 | | - }, |
127 | | - { |
128 | | - "task": "Delete all", |
129 | | - "label": "Delete all HTML and PDFs", |
| 147 | + "task": "Generate GPG key", |
| 148 | + "label": "Generate a (new) GPG key", |
| 149 | + "description": "First add your name/email to config.txt", |
130 | 150 | "problemMatcher": [], |
131 | 151 | }, |
132 | 152 | ], |
|
0 commit comments