We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59fdb4c commit 48f86ddCopy full SHA for 48f86dd
bin/latex.py
@@ -499,8 +499,10 @@ def build_contest_pdf(
499
).read_text()
500
501
for prob in problems:
502
- prepare_problem(prob, language)
503
- if build_type != PdfType.PROBLEM: # i.e. for SOLUTION and PROBLEM_SLIDE
+ if build_type == PdfType.PROBLEM:
+ prepare_problem(prob, language)
504
+ else: # i.e. for SOLUTION and PROBLEM_SLIDE
505
+ create_constants_file(prob, language)
506
tex_no_lang = prob.path / "problem_statement" / f"{build_type.value}.tex"
507
tex_with_lang = prob.path / "problem_statement" / f"{build_type.value}.{language}.tex"
508
if tex_with_lang.is_file():
0 commit comments