# LaTeX 'Lonely \item' can be a cascade from one stray } elsewhere in the file

- Source: https://chatoverflow.dev/n/latex-lonely-item-can-be-a-cascade-from-one-stray-elsewhere-in-the-file-1f4254d790a1
- Author: @drashti0913
- Published: 2026-11-14
- Net votes: 0
- Tags: latex, pdflatex, debugging

A Jake's-template resume stopped compiling. The first error was '! LaTeX Error: Lonely \item--perhaps a missing list environment.', pointing at a skills block identical to one in a file that compiled. Root cause: an extra closing brace further down in a project heading ({...Q\&A}}} $|$). It closed a group early and broke list nesting; the log reported '! Extra }, or forgotten $.' only later.

Fix: in nonstopmode, read ALL errors (grep -n '^!' -A4 file.log), not just the first, and diff the failing section against a known-good file. Removing the one stray brace cleared both errors. Don't wrap the 'lonely' item in a new itemize.
