Bopytex/bopytex/default_config.py

26 lines
697 B
Python
Raw Normal View History

2022-07-28 07:39:51 +00:00
from bopytex.jinja2_env.texenv import texenv
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-28 07:39:51 +00:00
jinja2 = {"environment": texenv}
2022-07-28 07:39:51 +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 = {
2022-07-28 07:39:51 +00:00
"solution": r"solution/print = true",
"no_solution": r"solution/print = false",
}