Set up and use LaTeX-diff with Docker to compare differences between two LaTeX files.
- Docker
-
Clone repo:
Clone the repo, and navigate to the
latex-diff
folder in the terminal -
Build the Docker image:
Run the following command to build the Docker image:
docker build -t latexdiff-docker .
This command creates a Docker image named
latexdiff-docker
. -
Run LaTeX-diff:
Run LaTeX-diff on two LaTeX files
old.tex
andnew.tex
using the following command:./latexdiff-docker.sh old.tex new.tex diff.tex
This will generate a
diff.tex
file containing the differences betweenold.tex
andnew.tex
. You can custmize the file names as you wish.