latexdiff-vc を使おうとしてハマった
REVTeXを使って書いていた原稿のdiffをlatexdiff-vc
で取ろうとするとMissing characters near word 7714 character index: 101222-101224 Length: 1 Match: |1| (expected match marked above).
みたいなエラーが出て上手く行かない。
調べると(原因も理由もよくわからないが)、--allow-spaces
をつければいいらしい。
次のようにフラグをつけたら無事動いた。
latexdiff-vc -e utf-8 --git --flatten --force --allow-spaces -d diff -r <commit> main.tex