alpaylan/LaTeX Diff Viewer

Build a git-latexdiff PDF between two commits and share it as a PR comment + artifact.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: alpaylan/latex-diff-viewer@dcf8684e82c98a72d23ea84e281d59f267523255 # v1.1.11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
mainMain LaTeX file (overrides difftool.toml).no""
build_commandFull-build command (overrides difftool.toml).no""
build_dirlatexmk output directory (overrides difftool.toml).no""
latexdiff_optionsExtra flags passed to git-latexdiff (space separated).no""
assetsUntracked asset globs to mirror into checkouts (comma/newline separated).no""
configPath to a difftool.toml/json (relative to the repo).nodifftool.toml
baseBase ref to diff FROM. Defaults to the PR base.no""
headCompare ref to diff TO. Defaults to the PR head / current SHA.no""
fullAlso build a plain (no-diff) full PDF of the head commit.notrue
commentPost/update a comment on the PR with the result.notrue
artifact_nameName of the uploaded artifact.nolatex-diff
imagePrebuilt tool image to run.noghcr.io/alpaylan/latex-diff-viewer:v1
github_tokenToken used to post the PR comment.no${{ github.token }}
namedescription
diff_pdfPath to the generated diff PDF.
full_pdfPath to the generated full PDF (if built).
changed_pagesNumber of changed pages in the diff.