Skip to content
Amet13Public

About

Preflight for LaTeX papers and theses, for AI agents and by hand

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

101 stars

Watchers

2 watching

Forks

Latest commit

 

History

665 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

overfull ▮

The check you run before you submit, on the paper you already have.

Website · Guide · Browser check · Rules

ci Release License: MIT Templates: MIT-0

Overfull checks a LaTeX paper or thesis before you send it anywhere. It answers three questions in plain language, with the file and line:

  • Does every reference exist and match? Each entry is looked up in CrossRef, doi.org, arXiv, DBLP, Semantic Scholar, the ACL Anthology, Europe PMC and OpenAlex. A DOI that points to another paper, a title no index knows, a retracted work: each is reported. Venues now desk-reject papers with invented references.
  • Does the PDF show what you meant? ?? and [?], a stale bibliography, text in the margin, missing fonts, untagged or inaccessible PDF.
  • Does it meet the venue's rules? Page limit, paper size, anonymity, AI-use disclosure, the official style file left unmodified, arXiv's build rules. Profiles for NeurIPS, ICLR, ICML, CVPR, ECCV, AISTATS, AAAI, ACL, EMNLP, IEEE and ACM conferences and Springer LNCS, each with its source and the date it was checked.

The checks are deterministic and need no AI. They work the same whether you write by hand or with a coding agent. Overfull never writes research content and never calls a reference "fake": an entry is verified, differs from its record, was not found, or could not be checked.

In one minute

curl -fsSL https://amet13.github.io/overfull/install.sh | sh   # Linux, macOS
cd my-paper
overfull check

On Windows: irm https://amet13.github.io/overfull/install.ps1 | iex. The installer verifies the download against the release's SHA256SUMS and needs no administrator rights. Or use a package manager:

brew tap amet13/overfull https://github.com/Amet13/overfull && brew install amet13/overfull/overfull
scoop bucket add overfull https://github.com/Amet13/overfull; scoop install overfull/overfull
nix run github:Amet13/overfull -- check

Other ways to install, including Docker and single-file downloads: Install.

overfull check finds the main file, reads the build log, the PDF and the .bib files, and prints one line per problem. Build first with your usual tools, or with overfull build (local TeX Live, or Docker if there is none). overfull init --here saves what it found in overfull.yml and can add a CI workflow, agent instructions and a pre-commit hook; it never touches your .tex or .bib files. See Add Overfull to an existing project.

Where you work

On every pull request. The Action reads the log, PDF and .bib your workflow already produces, annotates the changes and writes a summary. It can also write SARIF for code scanning.

- uses: amet13/overfull@v3
  with:
    checks: build,output,references,accessibility,venue

The check-only image ghcr.io/amet13/overfull:3-check has the CLI and veraPDF without TeX Live; ghcr.io/amet13/overfull:3 also builds. See GitHub Action.

With an agent. Claude Code, Codex, Cursor, Copilot and Gemini CLI read the AGENTS.md and skills that overfull init --here --agents adds. The agent adds references only through overfull cite, runs overfull check --json after each change, and a hook stops it from editing .bib files by hand (Claude Code, Codex CLI and Gemini CLI). In Claude Code, the plugin installs the skills, the hook and the MCP server in one step:

/plugin marketplace add amet13/overfull
/plugin install overfull@overfull

Agents without a shell can use overfull mcp. See Working with an agent.

On Overleaf. Download the project source as a .zip and drop it on the browser check: it runs in your browser and uploads nothing. For every change, sync the project to GitHub and use the Action. See Use with Overleaf.

Before a commit. overfull guard --staged refuses a commit that adds a bibliography entry that neither came from overfull cite, nor carries your own note, nor verifies. It also works with the pre-commit framework (id: overfull-guard).

How good is the reference check

No measured run has been published yet. The benchmark in bench/refs/ (124 real entries and 90 fabricated ones) is set to run every month, and measured runs will be published in How accurate is the reference check, which describes the method and what the check cannot do.

Templates

For a new document, start from a template that already passes every check:

overfull init paper my-paper     # or thesis, slides
Template For Accessible by default
thesis bachelor's, master's, PhD theses (A4, 14pt, 1.5 spacing) yes, tagged PDF/UA-2
paper research papers and preprints yes, tagged PDF/UA-2
slides defense and conference talks (Beamer) no: Beamer slides cannot be tagged yet

All use LuaLaTeX, biblatex and TeX Live 2026 (the paper template also builds with pdfLaTeX for arXiv) and are licensed MIT-0. For a venue's own style, start from the venue's author kit and run overfull init --here in it.

Commands

overfull check [files]          run the checks
overfull init --here            add Overfull to this project
overfull init [template] [dir]  start from a template
overfull build [main.tex]       compile (local TeX or Docker)
overfull cite <doi | arXiv:id | ACL id | PMID | PMCID | "title">
                                add a verified reference
overfull guard --staged         block hand-written .bib entries (also --hook for agents)
overfull mcp                    Model Context Protocol server
overfull pages <range>          render pages to PNG
overfull diff [--base ref]      PDF with changes highlighted
overfull explain <rule>         what a rule means and how to fix it
overfull doctor                 check your setup

Every command takes --help, and all but mcp print JSON with --json. Every flag, the exit codes and the JSON shapes: CLI reference.

Contributing

The repository is a pnpm monorepo: packages/core (browser-safe checks), packages/cli (the command, the MCP server and the Action's API), venues/ (venue profiles as data), templates/, skills/, corpus/ (failing LaTeX documents that prove each log rule on TeX Live 2026), bench/ and evals/, docker/ and site/. See CONTRIBUTING.md and docs/ARCHITECTURE.md. Adding a venue is the most useful contribution: Adding a venue.

The name comes from LaTeX's Overfull \hbox warning.

License

Code: MIT. Templates, skills and agent instructions: MIT-0.

About

Preflight for LaTeX papers and theses, for AI agents and by hand

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

101 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages