2022-05-05 12:35:01 +00:00
|
|
|
import jinja2 as j2
|
2022-05-04 09:39:28 +00:00
|
|
|
from bopytex.planner.generate_compile_join_planner import planner
|
|
|
|
from bopytex.worker import Dispatcher
|
|
|
|
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-05-05 12:35:01 +00:00
|
|
|
jinja2 = {
|
|
|
|
"environment": j2.Environment(loader=j2.FileSystemLoader("./")),
|
|
|
|
}
|
2022-05-04 09:39:28 +00:00
|
|
|
|
|
|
|
dispatcher = Dispatcher(
|
2022-05-07 14:55:33 +00:00
|
|
|
{"GENERATE": generate, "COMPILE": pdflatex, "JOIN": pdfjam, "CLEAN": clean}
|
2022-05-04 09:39:28 +00:00
|
|
|
)
|
2022-05-07 14:55:33 +00:00
|
|
|
|
|
|
|
|