Commit d142b857 authored by Luc Grosheintz's avatar Luc Grosheintz

Don't silence xelatex output when passing '-v'.

parent 219b170e
......@@ -159,8 +159,15 @@ if (( $+myoptions[-c] )) ; then
(echo "*WARNING* $texfile does not exist." 1>&2)
fi
done)
echo $files | parallel --halt soon,fail=1 --bar --will-cite xelatex '-interaction nonstopmode -halt-on-error' > /dev/null
echo $files | parallel --halt soon,fail=1 --bar --will-cite xelatex '-interaction nonstopmode -halt-on-error' > /dev/null
if (( $+myoptions[-v] )); then
redirect=/dev/stdout
else
redirect=/dev/null
fi
echo $files | parallel --halt soon,fail=1 --bar --will-cite xelatex '-interaction nonstopmode -halt-on-error' > $redirect
echo $files | parallel --halt soon,fail=1 --bar --will-cite xelatex '-interaction nonstopmode -halt-on-error' > $redirect
# check if pdf was created
for ldir in ${(f)results_dir}; do
tail=${ldir:t}
......
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