14 lines
466 B
Python
14 lines
466 B
Python
import jinja2
|
|
from bopytex.planner.generate_compile_join_planner import planner
|
|
from bopytex.worker import Dispatcher
|
|
from bopytex.worker.clean import clean
|
|
from bopytex.worker.compile import latexmk
|
|
from bopytex.worker.generate import generate
|
|
from bopytex.worker.join_pdf import pdfjam
|
|
|
|
jinja2_env = jinja2.Environment(loader=jinja2.FileSystemLoader("./"))
|
|
|
|
dispatcher = Dispatcher(
|
|
{"GENERATE": generate, "COMPILE": latexmk, "JOIN": pdfjam, "CLEAN": clean}
|
|
)
|