Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Latexdiff online – diff two LaTeX files in the browser

Latexdiff online is a free browser-based tool that compares two LaTeX files and highlights differences in a generated PDF, allowing users to select between different diff styles (e.g., CF, CT, TRADITIONAL) without needing to install software.

Background

- LaTeX is a document preparation system widely used in academia (especially STEM fields) for writing papers, theses, and books. It compiles plain-text source code into polished PDFs, handling math notation, cross-references, and bibliographies. - **latexdiff** is a command-line tool that compares two LaTeX source files (e.g., an original and a revised version) and produces a new LaTeX file that highlights changes – typically red/strikethrough for deletions and blue/underlined for additions – so reviewers can see exactly what was altered. - The page presents a **free online version** of latexdiff that runs entirely in the browser via WebAssembly, eliminating the need to install LaTeX or the tool locally. This is useful for researchers who need to generate change-tracked documents for journal submission or peer review without setting up a local LaTeX environment. - This matters because many academic journals require authors to submit a "diffed" manuscript showing changes from the previous version, and the standard tools have a steep setup curve for non-experts.

Related stories