summaryrefslogtreecommitdiff
path: root/support/texlab/docs/tectonic.md
blob: 1e75c2d1265a3fabde3e9bb2bc2f968e28ac69a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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",
}
```