1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Migrate LaTeX to XeTeX

This commit is contained in:
Alexandre Iooss
2020-09-06 15:30:12 +02:00
parent ae028b7d06
commit dcdd8e56e8
16 changed files with 17 additions and 38 deletions

View File

@ -209,7 +209,7 @@ class InvoiceRenderView(LoginRequiredMixin, View):
# The file has to be rendered twice
for ignored in range(2):
error = subprocess.Popen(
["pdflatex", "-interaction=nonstopmode", "invoice-{}.tex".format(pk)],
["xelatex", "-interaction=nonstopmode", "invoice-{}.tex".format(pk)],
cwd=tmp_dir,
stdin=open(os.devnull, "r"),
stderr=open(os.devnull, "wb"),