Feat: activate texenv by default

This commit is contained in:
Bertrand Benjamin 2022-07-19 16:33:27 +02:00
parent 8c20ff8e4a
commit 1fd5ca9c96

View File

@ -1,13 +1,15 @@
import jinja2 as j2
#import jinja2 as j2
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 pdflatex
from bopytex.worker.generate import generate
from bopytex.worker.join_pdf import pdfjam
from bopytex.jinja2_env.texenv import texenv
jinja2 = {
"environment": j2.Environment(loader=j2.FileSystemLoader("./")),
# "environment": j2.Environment(loader=j2.FileSystemLoader("./")),
"environment": texenv
}
dispatcher = Dispatcher(