Browse Source

better diagnosis when not finding the PDF file

master
Matthieu Moy 6 years ago
parent
commit
d2216678f7
  1. 2
      git-latexdiff

2
git-latexdiff

@ -810,6 +810,8 @@ fi
pdffile="$builddir/$mainbase".pdf pdffile="$builddir/$mainbase".pdf
if test ! -r "$pdffile" ; then if test ! -r "$pdffile" ; then
echo "No PDF file generated." echo "No PDF file generated."
echo "Working directory: $PWD"
echo "Expected PDF: $pdffile"
compile_error=1 compile_error=1
elif test ! -s "$pdffile" ; then elif test ! -s "$pdffile" ; then
echo "PDF file generated is empty." echo "PDF file generated is empty."

Loading…
Cancel
Save