Skip to content

Commit

Permalink
Minor fix in online exam compile
Browse files Browse the repository at this point in the history
  • Loading branch information
principejavier committed Oct 7, 2024
1 parent a78d6a5 commit 206fecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ function compile_tex_files(exam::OnlineExam)
run(pdflatex)
run(pdflatex)
filename = exam.name*"_"*lang*"-moodle.xml"
run(`sed -i 's/MULTICHOICE/MULTICHOICE_VS/g' $filename`)
run(`sed -i 's/MULTICHOICE_S/MULTICHOICE_VS/g' $filename`)
run(`sed -i 's/PENALTY/%-25%/g' $filename`)
end
return nothing
Expand Down

0 comments on commit 206fecc

Please sign in to comment.