This repository contains my personal toolkit for automating the compilation of LaTeX documents using Docker and CI scripts.
-
latex-commit-diff: This script leverageslatexdiffto create a PDF with tracked changes between two commits of the same LaTeX document. By default, it compares the current working directory with the last tag in the repository. A custom reference can be specified using theBASELINEenvironment variable, or adding the reference commit/tag to a.diffreffile in the repository root. -
Dockerfile: Defines a Docker image with a full LaTeX distribution and necessary tools, including thelatex-commit-diffscript. -
examples-ci/: A directory containing example CI configurations. For now, it only includes a GitLab CI example. -
README.md: This documentation file.
export BASELINE=<commit>
export TEXFILES=<file1.tex> <file2.tex> ...
latex-commit-diffFor questions or suggestions, feel free to contact me.
This project is licensed under the GPL-3.0 License. See the LICENSE file for details.
(c) 2019-2024 Leonardo Montecchi.