Getting started

Getting started

Point Texpile at the directory your .tex files already live in, and it scans for them.

Where to find it
Start screen
Open Folder…
Menu
File › Open folder Once you are already in a folder.
In the editor
Right-click a file › Set as main file In the file explorer.
Setting
Preferences › Autosave Preferences opens from the start screen, and from File › Preferences… once a folder is open.
The start screen: Open Folder, Join session, New Window, and Preferences
The start screen: Open Folder, Join session, New Window, and Preferences

Open a folder

There is no import step and no project format. Texpile opens on a start screen rather than an empty editor: choose Open Folder… and the file explorer fills with the .tex, .bib, and image files it finds. Folders you have opened before are listed under Recent, and your last folder reopens the next time you launch, on the file you left open.

New to Texpile? The start screen has a "New here? Try the tutorial" link that builds a small worked example in a folder you pick, so you have something real to edit.

The main file

A multi-file paper has one main .tex holding the preamble and \begin{document}. Texpile picks it automatically, by conventional name or by looking for \begin{document}. Right-click any file in the explorer to set it yourself. The main file is badged with a star and remembered per folder.

Right-clicking a file to set it as the main file, with the current main file starred

Two views of one file

Every file opens in either the visual editor or the source editor, and switching between them keeps your scroll position, cursor, and undo history.

Autosave

Autosave is on by default. Turn it off in Preferences and Texpile saves only when you press Ctrl+S, warning you before you switch files.

Live preview and hosting a shared session both depend on the file on disk being current, so autosave stays on while either is active.

Producing a PDF

Press Preview (or Compile, in source mode) and Texpile runs a sensible default command for you: latexmk with lualatex. It just needs a TeX distribution installed on your machine.