2022-05-04 09:39:28 +00:00
|
|
|
from bopytex.planner.generate_compile_join_planner import planner
|
|
|
|
from bopytex.worker import Dispatcher
|
2022-07-19 16:09:17 +00:00
|
|
|
from bopytex.worker.activate_corr import activate_corr
|
2022-05-04 09:39:28 +00:00
|
|
|
from bopytex.worker.clean import clean
|
2022-05-07 14:55:33 +00:00
|
|
|
from bopytex.worker.compile import pdflatex
|
2022-05-04 09:39:28 +00:00
|
|
|
from bopytex.worker.generate import generate
|
|
|
|
from bopytex.worker.join_pdf import pdfjam
|
2022-07-19 14:33:27 +00:00
|
|
|
from bopytex.jinja2_env.texenv import texenv
|
2022-05-04 09:39:28 +00:00
|
|
|
|
2022-05-05 12:35:01 +00:00
|
|
|
jinja2 = {
|
2022-07-19 14:33:27 +00:00
|
|
|
"environment": texenv
|
2022-05-05 12:35:01 +00:00
|
|
|
}
|
2022-05-04 09:39:28 +00:00
|
|
|
|
2022-07-19 16:09:17 +00:00
|
|
|
dispatcher = Dispatcher({
|
|
|
|
"GENERATE": generate,
|
|
|
|
"COMPILE": pdflatex,
|
|
|
|
"JOIN": pdfjam,
|
|
|
|
"CLEAN": clean,
|
|
|
|
"ACTIVATE_CORR": activate_corr,
|
|
|
|
})
|
2022-05-07 14:55:33 +00:00
|
|
|
|
2022-07-19 16:09:17 +00:00
|
|
|
latex = {
|
|
|
|
"solution": r"solution/print = true",
|
|
|
|
"no_solution": r"solution/print = false",
|
|
|
|
}
|
2022-05-07 14:55:33 +00:00
|
|
|
|