How to read the Compilation Results panel in Coauthor: error and warning entries, jumping to the failing line, per-pass output including BibTeX, and the full compilation log.

Compile Errors, Warnings, and Logs

When a compile does not produce a PDF, Coauthor parses the compiler output and shows the problems in a side panel next to the editor. This page explains what the panel shows and how to get from an error to the line that caused it. For explanations of specific LaTeX error messages, see Fixing Common LaTeX Errors.

Opening the Panel

  • After a manual compile fails, the Compilation Results panel opens automatically on the right side of the editor.
  • After an auto compile fails, the panel stays closed so it does not interrupt your typing. The toolbar button reads Auto failed and a red button with the error count appears next to it. Click the red button (View compilation errors) to open the panel.
  • For any compile, including a successful one, click the chevron next to Compile and choose View compile log.

Close the panel with the Close error panel button (the X in its header).

Reading the Header

The header shows Compilation Results with a red background when the compile failed and a green background when it succeeded, followed by badges with the number of errors and warnings. Errors stop the compiler or prevent a PDF from being written; warnings (overfull boxes, undefined references, missing citations) do not stop the compile but usually point at something you want to fix before submission.

Pass Summary Cards

Below the header, one card is shown per compiler pass:

CardMeaning
latexmkThe normal case: latexmk ran pdfLaTeX (and BibTeX if needed) as many times as required to resolve references
pdflatex Pass 1, Pass 2, Pass 3Shown only when the fallback three-pass build was used
BibTeXA separate BibTeX pass ran; shown only in the fallback build

Each card is green on success, red on failure, and orange if the pass timed out, and shows its duration. Click a card to expand that pass's raw output in a dark console area; click it again to collapse it. This is the quickest way to see BibTeX complaints such as a missing .bib file or a malformed entry, because BibTeX output is included when errors are extracted.

The Error List

Each entry in the list has:

  • A red Error or yellow Warning tag.
  • Line N when the compiler reported a line number (most ! errors do; warnings and file-not-found errors usually do not).
  • The message text, for example Undefined control sequence.
  • The raw log line it came from, in monospace.

Click an entry that has a line number to move the cursor to that line in the source editor. The line scrolls to the top and flashes briefly. Errors are extracted from the final pass only, so "undefined reference" warnings from an early pass that were resolved later do not appear.

Line numbers refer to the file the compiler was processing at that moment. In a multi-file project the line may belong to an included file rather than the one you have open; check the raw log line and the surrounding output for the file name in parentheses.

Full Compilation Log

At the bottom of the panel, click Full Compilation Log to expand the complete output: a header with the compilation id, start and end time and result, then each pass's stdout and stderr in order. Use it when the parsed list is empty but the compile still failed, or when you want to search for a package name.

Asking the AI to fix compile errors

You don't need to copy the log into the chat. Ask the AI coauthor something like "why does my build fail?" or "fix the compile errors": it reads the errors, warnings and log of the project's latest compile itself (Reading Compile Log in the panel) and proposes fixes as tracked changes you can accept or reject. The agent cannot start a compile, so compile again after accepting its changes and ask it to check the new result. It always reads the latest finished compile, and is told when you have changed files since. See Tools: What the AI Can Read and Change.

You can still select text in the log and paste it into the AI coauthor thread to ask about a specific line. See Giving the AI Context: Attachments and Selected Text.

Tips for Working Through Errors

  1. Fix the first error, then recompile. LaTeX often reports a chain of follow-up errors that disappear once the first one is fixed.
  2. Errors with no line number are usually about files: a missing image, a missing .bib or .sty, or a wrong path. Check spelling and folder names in the workspace panel.
  3. No errors with a red header means the compiler exited with a failure code but the parser found no ! lines. Open Full Compilation Log and look at the end of the last pass.
  4. A timed out card means the compile exceeded its time limit; look for an infinite loop in a macro or an enormous TikZ picture.
  5. If the toolbar shows No main file set, nothing was compiled at all; see LaTeX Main Files.
  6. An error without a line number that says the compile service did not return a result, or could not prepare your project files, is a problem on our side, not in your LaTeX. The panel shows no pass cards. Compile again. If the error continues, contact support.

Related articles

Fixing Common LaTeX Errors
Compiling and PDF Preview
LaTeX Main Files
Bibliographies and Citations
Giving the AI Context: Attachments and Selected Text
Tools: What the AI Can Read and Change

Prefer to ask?

Inside Coauthor, ask the AI coauthor how any feature works — it answers from these same help articles. For anything else, use the ? button in the top-right corner of the app.

Ready to Write Better Research Papers?

Let Coauthor help you with your next manuscript

7 days free, with €2.50 of AI usage on your own paper