latex-diff

Featured

Compare two LaTeX files, project directories, or Git revisions and produce human-readable plus machine-readable severity-graded semantic changes. Use when determining what changed between manuscript versions or preparing a revision audit bundle. Not for proofreading one version; use $proofread.

Code & Development 144 stars 27 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# LaTeX Diff > Compare two versions of a LaTeX document and report what actually changed — > text, equations, citations, labels/refs, section titles, macros, environments, > file add/remove, and moves — each graded by severity. Wraps the `latexdiff-agent` > CLI (`packages/latex-diff`). Member of the `latex-*` source/build family. ## When to Use - "What changed between these two versions of the paper?" - Building an R&R "summary of changes" or a preprint vN→vN+1 changelog - Focusing a re-review on the changes that matter (semantic-impact only) - Sanity-checking a co-author's edits before merging ## When NOT to Use - **Compiling** a document → `latex` - **Prose quality / proofreading** → `proofread` - A raw line diff is enough → `git diff` (this skill is LaTeX-aware: it knows a changed `\cite` key from a reflowed paragraph) ## What it produces Two views from the same canonical diff: 1. **Human summary** — grouped by file and section, every line carrying a change `id`, a severity badge, and a `file:line` location. 2. **Machine-readable JSON** — severity-graded `ChangeRecord`s. `semantic_impact: true` flags the changes a reviewer should actually read. For a persistent run inside a research project, these are the mandatory core files. Use one timestamp-only basename for the whole run: ```text reviews/<scope>/<check>/<YYYY-MM-DD-HHMM>.md reviews/<scope>/<check>/<YYYY-MM-DD-HHMM>.changes.json ``` Here and below, `<check>` is this skill's frontmatter `name`. Co-lo...

Details

Author
flonat
Repository
flonat/flonat-research
Created
7 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category