|
@ -656,6 +656,7 @@ do |
|
|
verbose_done |
|
|
verbose_done |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
if test $tectonic != 1; then |
|
|
if [ "$ignorelatexerrors" = 1 ]; then |
|
|
if [ "$ignorelatexerrors" = 1 ]; then |
|
|
latexopt="$latexopt -interaction=batchmode" |
|
|
latexopt="$latexopt -interaction=batchmode" |
|
|
elif [ "$quiet" = 1 ]; then |
|
|
elif [ "$quiet" = 1 ]; then |
|
@ -663,6 +664,7 @@ elif [ "$quiet" = 1 ]; then |
|
|
else |
|
|
else |
|
|
latexopt="$latexopt -interaction=errorstopmode" |
|
|
latexopt="$latexopt -interaction=errorstopmode" |
|
|
fi |
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
# Option to use latexdiff --flatten instead of latexpand |
|
|
# Option to use latexdiff --flatten instead of latexpand |
|
|
if test "$latexdiff_flatten" = 1; then |
|
|
if test "$latexdiff_flatten" = 1; then |
|
@ -789,6 +791,11 @@ elif test "$uselatexmk" = 1; then |
|
|
compile_error=1 |
|
|
compile_error=1 |
|
|
error_msg="command 'latexmk' failed." |
|
|
error_msg="command 'latexmk' failed." |
|
|
} |
|
|
} |
|
|
|
|
|
elif test "$tectonic" = 1; then |
|
|
|
|
|
log_cmd tectonic.log tectonic $latexopt "$mainbase.tex" || { |
|
|
|
|
|
compile_error=1 |
|
|
|
|
|
error_msg="command 'tectonic' failed." |
|
|
|
|
|
} |
|
|
else |
|
|
else |
|
|
log_cmd pdflatex1.log $LATEX_EXEC $latexopt "$mainbase" || { |
|
|
log_cmd pdflatex1.log $LATEX_EXEC $latexopt "$mainbase" || { |
|
|
compile_error=1 |
|
|
compile_error=1 |
|
|