The editor

DuoTeX is a LaTeX editor that runs in the browser. These pages describe what it does and what each function needs.

Online LaTeX editor without installation
In web mode the editor compiles your document in the browser, with a WebAssembly build of pdfTeX. You install nothing, and writing and compiling work without an account.
Desktop app: compile with your local TeX
In bridge mode the editor in the browser talks to a desktop app on the same computer. The app reads and writes the project folder on your disk and compiles with a local pdfLaTeX.
PDF preview next to the source
The editor shows the source on the left and the compiled PDF on the right. A double-click in the PDF moves the cursor to the matching place in the source.
Error list with jump to the line
After a compile run the editor lists the errors and warnings from the log with file and line. Select an entry and the editor opens the file at that line.
Zotero citations in LaTeX
The editor lists the sources of your project, completes citation keys while you type and shows the entry and its PDF behind a \cite. Connected to Zotero, it also keeps the .bib file in step with your library. This guide goes through the setup and the daily use.
BibLaTeX and Biber in the browser
Biber is a Perl program and cannot run in a browser. In web mode the editor has a server run it, after asking you, and continues the compile with the result.
Write a LaTeX file together in real time
Several people can edit the same file at once. Each sees the cursors and selections of the others, labelled with their names.
AI assistant with your own API key
A chat panel sends your question, together with the selected text or the open file, to an AI provider you choose. Suggested changes come back as a diff that you accept or decline.
Sync a LaTeX project with GitHub
In web mode a project can be tied to a GitHub repository. One click commits your changes and brings in the changes made on GitHub. This guide goes through connecting, publishing, syncing and conflicts.
Version history and snapshots
The editor records your edits and takes snapshots of the project. One panel shows both on a timeline, and a snapshot can be restored.
Comments on passages of the document
Select text and attach a comment to it. Comments can be answered and resolved, and the commented passage is highlighted in the PDF as well.
Equation editor with live preview
When the cursor is inside a formula, a small window shows the rendered formula and follows your typing. A larger equation editor adds a symbol palette, building blocks and 46 example formulas. This guide shows both.
TikZ editor with preview and templates
A tikzpicture gets its own preview at the cursor, compiled from that picture alone. A TikZ editor adds 25 templates, building blocks and a surface to draw on with the mouse. This guide shows both.
Chemical formulas with preview
Reaction equations written with \ce{...} are previewed while you type. A chemistry editor helps with reactions and structural formulas.
SVG graphics in LaTeX without Inkscape
pdfLaTeX cannot read SVG files, and the svg package needs Inkscape and shell escape. The editor converts the graphics itself, so \includesvg works.
LaTeX templates for a new project
A new project starts from one of eleven templates or from an empty document. Your own project can be saved as a template.
Autocomplete, outline and themes
The source editor is Monaco, the editor component of VS Code. It completes commands, citation keys and labels, and a sidebar shows the outline of the document.