git-latexdiff
- It's a dependency of
texlive-core
- Show diff between two versions of latex files
git-latexdiff
is a wrapper around latexdiff and diff
# Diff between the last commit and the workspace
git latexdiff "HEAD" "--" \
--main "main.tex" \
--lualatex \
--run-bibtex \
--ignore-latex-errors \
--type "UNDERLINE" \
--output "/home/hvitoi/Downloads/diff.pdf"
- Markup styles
- UNDERLINE (default)
- CTRADITIONAL
- TRADITIONAL
- CFONT
- FONTSTRIKE
- INVISIBLE
- CHANGEBAR
- CCHANGEBAR
- CULINECHBAR
- CFONTCHBAR
- BOLD
- PDFCOMMENT