This commit is contained in:
Marc Beninca 2020-10-20 23:07:53 +02:00
parent 6644e0f666
commit 7e0a5a1d0e

View file

@ -67,10 +67,10 @@ def build(directory, sign):
'-output-directory', tmp, '-output-directory', tmp,
f'{variables}\\input{{{MAIN}}}', f'{variables}\\input{{{MAIN}}}',
] ]
# pre build
run(command)
# if it's the main document # if it's the main document
if document[ENGLISH] == 'thesis': if document[ENGLISH] == 'thesis':
# pre build
run(command)
# build glossaries # build glossaries
run(['makeglossaries', run(['makeglossaries',
'-d', tmp, '-d', tmp,