languages,comments

This commit is contained in:
Marc Beninca 2020-10-08 08:32:57 +02:00
parent ac1fee4301
commit 80d2623d70
3 changed files with 11 additions and 1 deletions

View file

@ -41,7 +41,7 @@ def build(directory, sign):
# prepare build command
command = ['xelatex',
'-output-directory', tmp,
MAIN,
f'\def\mainlanguage{{{language}}}\input{{{MAIN}}}',
]
# if it's the main document
if document[ENGLISH] == 'thesis':