How To Install Latexdiff-hg In Debian, Ubuntu, Kali, Raspbian And MacOS?

How To Install Latexdiff-hg In Debian, Ubuntu, Kali, Raspbian And MacOS?

latexdiff-hg

utility to mark up significant differences between LaTeX files

Maintainer: Debian Perl Group



Section: tex

Install latexdiff-hg

  • Debian apt-get install latexdiff Click to copy
  • Ubuntu apt-get install latexdiff Click to copy
  • Kali Linux apt-get install latexdiff Click to copy
  • Raspbian apt-get install latexdiff Click to copy
  • macOS brew install latexdiff Click to copy

latexdiff

utility to mark up significant differences between LaTeX files

latexdiff compares two LaTeX files and marks up significant differences between them (i.e. a diff for LaTeX files). It generates a new LaTeX file containing the annotated differences. Various options are available for visual markup using standard LaTeX packages such as 'color.sty'. Changes not directly affecting visible text, for example in formatting commands, are still marked in the LaTeX source. A rudimentary revision facilility is provided by another Perl script, 'latexrevise', which accepts or rejects all changes. Manual editing of the difference file can be used to override this default behaviour and accept or reject selected changes only.

Installation of latest latexdiff-hg command is available for Debian, Ubuntu, Kali, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.