The typical approach to comparing PDF files in git diff
outputs
amounts to converting PDF files into texts through pdftotext
and
show the diff of conversion.
- Install the utility
pdftotext
from the projectpoppler
- Enable the handler
pdffiles
indiff
for PDF files and instruct the handler to call thepdf-astextplain
script: