This commit is contained in:
Marc Beninca 2020-10-07 12:47:33 +02:00
parent 53169830ec
commit 0a2f3cae99
3 changed files with 19 additions and 8 deletions

View file

@ -25,14 +25,15 @@ def errun(command):
def build(sign):
for en, fr in DOCUMENTS:
command = ['xelatex', '-output-directory', TMP, en]
run(command)
run(['makeglossaries', '-d', TMP, en])
run(['biber',
'--input-directory', TMP,
'--output-directory', TMP,
en,
])
run(command)
if en == 'document':
run(command)
run(['makeglossaries', '-d', TMP, en])
run(['biber',
'--input-directory', TMP,
'--output-directory', TMP,
en,
])
run(command)
run(command)
pdf = f'{fr}.pdf'
os.rename(os.path.join(TMP, f'{en}.pdf'),

View file

@ -0,0 +1,9 @@
\newcommand{\import}[1]{\input{document/#1}}
\import{settings}
\begin{document}
\end{document}

View file

@ -0,0 +1 @@
\documentclass[12pt]{extarticle}