Source on the left, with colours, line numbers and environments that close themselves. The PDF on the right, rebuilt when you save. Errors are pinned to their line, and Vesper can read the log and fix the first one, writing over the source as you watch.
\documentclass{article}\usepackage{amssymb} % added\begin{document}\section{Routing}Tokens are routed by score which is computed from the hidden state and it is noisy.Each token is routed by a score computed from its hidden state; that score is noisy.\begin{equation} w_i = \mathbb{E}[s_i(x)]\end{equation} % closed for you% Theorem 1 holds when drift < δ\end{document}
Log1 errormain.tex:7 · Undefined control sequence \mathbbLet AI fix the first error
PolishVesperKeepUndo
Compiling · 3.2 s · page 2Built · 4 pages
(./main.texLaTeX2e <2024>(amsmath.sty)[1] [2
2 Method
2.1 Routing
wi = 𝔼[si(x)](1)
Theorem 1 holds when drift < δ
HOW IT WORKS
Everything a paper needs, in one window.
Write, compile, find the error, fix it, and keep going.
WriteColours, line numbers, auto-closing
CompileIn the background, as long as it takes
Find the errorPinned to file and line
Let AI fix itThe lines and the error, together
Part of the studyPapers from Lancer Science open here
01
A source editor that knows LaTeX.
Commands, environments, sections, formulas and comments each have a colour, with line numbers and the current line highlighted. Type \begin{…} and press Return, and the matching \end{…} appears. Tab indents, ⌘/ comments, ⌘F finds and replaces.
It saves after a second or so of quiet and never overwrites changes made elsewhere. Files on the left, .tex, .bib and images, with the main file marked; an outline that follows your cursor.
02
A PDF that keeps up with you.
The PDF on the right rebuilds when you save, or on ⌘↵. Compilation runs in the background; the log arrives line by line, with the elapsed time and the page it has reached, and even long builds can finish. You can stop it at any time.
Zoom, see the page numbers and download. Double-click a word in the PDF to jump to its source line; ask for “find this line in the PDF” to go the other way.
03
Errors where they happened.
Errors and warnings are matched to their file and line. The line number turns red, and in the log drawer every entry jumps to its place.
04
Hand the error to Vesper.
“Let AI fix the first error” sends the lines around it with the error itself. The new code is written over the old as you watch; when it finishes you keep it, undo it, or ask again.
It can also polish prose, rewrite to your instruction, translate into English, explain a passage or continue writing, always on the source itself.
05
Where the paper from your study opens.
.tex and .bib files in a study folder open in LANCER TEX, including the paper written in Lancer Science. When you are ready to send it, export the PDF, the .tex, or the whole project as a zip without build files.
A WORKED EXAMPLE
The night before a deadline, one undefined command.
The kind of error that costs twenty minutes of searching.
You say
It won’t compile and I don’t understand the log. Fix it without changing anything else.
What happens
Reads the log
Undefined control sequence \mathbb on line 7.
Finds the cause
The package that defines it is not loaded.
Writes one line
\usepackage{amssymb} in the preamble, nothing else.
Rebuilds
Four pages, no errors; the warning about an unused label stays for you to decide.
What you get
TEX
main.tex
One added line, shown as a change you can undo.
PDF
main.pdf
A clean build, ready to download.
ZIP
project.zip
The whole project, without build files, for submission.
WHAT IT DOES
Small things that save a deadline.
Build on save
Automatic, or by hand with ⌘↵. Builds up to half an hour long can finish.
Two-way sync
Double-click the PDF to reach the source; find a source line in the PDF.
Outline and files
Sections that follow your cursor; .tex, .bib and images in one list.
Translate to English
Rewrite or translate prose while commands, formulas and citations stay put.
Keep, undo, again
Every AI change is written in place and can be taken back.
Export
The PDF, the .tex, or the whole project as a zip without build files.
WHAT YOU KEEP
Source, PDF, and a project ready to send.
Build files live in a hidden folder inside the project, out of your way.
TEX
main.tex
Your source, with every change undoable.
PDF
main.pdf
The compiled paper, synced to the source.
BIB
refs.bib
References, highlighted like the rest.
ZIP
project.zip
Everything except build files.
Your source, respected.
It never saves over a file changed somewhere else after you opened it.
AI changes are written where you can see them, and kept only if you keep them.