Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Auto Multiple Choice
auto-multiple-choice
Commits
a0facad4
Commit
a0facad4
authored
Nov 24, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
AMC-prepare.pl
View file @
a0facad4
...
...
@@ -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 : $!
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment