Bopytex/bopytex/default_config.py

27 lines
694 B
Python
Raw Normal View History

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
from bopytex.worker.clean import clean
2022-05-07 14:55:33 +00:00
from bopytex.worker.compile import pdflatex
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-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-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