Commit a0facad4 authored by Jojo Boulix's avatar Jojo Boulix
Browse files

Skip dvi to pdf step when the scoring strategy is needed only

parent d7d8b696
Pipeline #415642548 passed with stages
in 21 minutes
......@@ -646,7 +646,9 @@ sub execute {
# PDF, nothing has to be done...
if ( $format eq 'dvi' ) {
if ( -f "$jobname.dvi" ) {
if ( $oo{latex_only} ) {
debug "No need to build the PDF file.";
} elsif ( -f "$jobname.dvi" ) {
# default DVI->PDF engine is dvipdfmx
......@@ -1057,7 +1059,8 @@ if ( $to_do{b} ) {
execute(
command_opts => [@opts],
once => 1
once => 1,
latex_only => 1,
);
open( AMCLOG, "$jobname.amc" ) or die "Unable to open $jobname.amc : $!";
......
Supports Markdown
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