document
This commit is contained in:
parent
53169830ec
commit
0a2f3cae99
3 changed files with 19 additions and 8 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue