Commit 1e40c628 authored by Jaime Arias's avatar Jaime Arias
Browse files

fix script to generate figures

parent 1d87b090
......@@ -13,5 +13,5 @@ for path in $TEX_FILE; do
filename=`basename $path .tex`;
echo 'Processing ' $path;
(cd $folder; tex-pdf "$filename.tex" && pdftoppm -png "$filename.pdf" "$filename" && if [[ $(ls $filename*.png | wc -l) -eq 1 ]]; then mv "$filename-1.png" "$filename.png"; fi);
(cd $folder; tex-pdf "$filename.tex" && pdftoppm -png "$filename.pdf" "$filename" && if [[ $(ls $filename*.png | wc -l) = 1 ]]; then mv "$filename-1.png" "$filename.png"; fi);
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment