Skip to content

Commit

Permalink
add additional arguments to diff-pdf (#24)
Browse files Browse the repository at this point in the history
* -v: be verbose
* -m: mark differences on the side
* -s: skip empty pages
  • Loading branch information
jemand771 authored Aug 11, 2021
1 parent 02ef033 commit dff10c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ "$DISABLE_SYNCTEX" = "" ]; then
cp -u "$TARGET.synctex" "$BIND_PATH/$TARGET.synctex"
fi
if [ -f "$TARGET-old.pdf" ]; then
xvfb-run diff-pdf --output-diff="$TARGET-diff.pdf" "$TARGET-old.pdf" "$TARGET.pdf"
xvfb-run diff-pdf -v -m -s --output-diff="$TARGET-diff.pdf" "$TARGET-old.pdf" "$TARGET.pdf"
rm "$TARGET-old.pdf"
cp -u "$TARGET-diff.pdf" "$BIND_PATH/$TARGET-diff.pdf"
fi
Expand Down

0 comments on commit dff10c4

Please sign in to comment.