Toolchain

The Toolchain tab of Preferences with Check Again, Folders, and the LaTeX programs marked Found or Not found

Only the programs your commands call are needed. The default compile command needs latexmk and lualatex. Live preview needs lualatex, Format Document needs latexindent, and jumping between the text and the PDF needs synctex.

Texpile reads your PATH once, when it starts: restart it after you change PATH. Folders you add here apply at once.

The Set Up dialog

Set Up LaTeX or Set Up Typst opens when a compile, a jump, Format Document or the live preview needs a program Texpile cannot find.

The Set Up LaTeX dialog saying latexindent is not found, with Installed elsewhere, More in Preferences, Close, and How to install one
  • Installed elsewhere? Add its folder adds the folder to Folders.
  • How to install one opens the TeX install guide.
  • If TeX Live or MiKTeX is installed but lacks the program, the dialog says so. Add the program with that distribution's package manager.

Folders and distribution

Texpile searches Folders before PATH, for every program it runs, including your compile command. Locate on a Not found row adds the program's folder.

With more than one TeX Live or MiKTeX installed, pick one under Distribution to put its folder first. From PATH uses your PATH.

Install tinymist for Typst

Install tinymist is in the Typst section, the Set Up Typst dialog, and the "tinymist is not installed." bar above a .typ file.

The lower part of the Toolchain tab with tinymist Not found, the Texpile's copy row with an Install tinymist button, and git Found

A tinymist on PATH or in Folders comes first. To use Texpile's copy, pick Texpile's copy under Distribution.

If Texpile's copy cannot run on your computer, install tinymist yourself.