summaryrefslogtreecommitdiff
path: root/support/texlab/docs/tectonic.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/docs/tectonic.md')
-rw-r--r--support/texlab/docs/tectonic.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/support/texlab/docs/tectonic.md b/support/texlab/docs/tectonic.md
new file mode 100644
index 0000000000..1e75c2d126
--- /dev/null
+++ b/support/texlab/docs/tectonic.md
@@ -0,0 +1,26 @@
+### Example: Using `tectonic`
+
+[`tectonic`](https://tectonic-typesetting.github.io/) is an alternative to `latexmk`, built in Rust.
+You can quickly get started by changing `.vscode/settings.json` in your workspace to include the following:
+
+```jsonc
+{
+ // See `tectonic --help` for the format
+ "texlab.build.executable": "tectonic",
+ "texlab.build.args": [
+ // Input
+ "%f",
+ // Flags
+ "--synctex",
+ "--keep-logs",
+ "--keep-intermediates"
+ // Options
+ // OPTIONAL: If you want a custom out directory,
+ // uncomment the following line.
+ //"--outdir out",
+ ]
+ // OPTIONAL: The extension needs to be configured
+ // to read the logs from the out directory as well.
+ // "latex.build.outputDirectory": "out",
+}
+```