This commit is contained in:
Marc Beninca 2020-10-09 21:09:26 +02:00
parent 2fee7f2355
commit 0e740788d3
2 changed files with 11 additions and 2 deletions

View file

@ -6,15 +6,21 @@ import subprocess
import sys
AUTHOR = 'Marc BENINCA'
MAIN = 'main'
TMP = 'tmp'
ENGLISH = 'en'
FRENCH = 'fr'
LANGUAGES = [ENGLISH, FRENCH]
DOCUMENTS = [
{ENGLISH: 'thesis', FRENCH: 'mémoire'},
{ENGLISH: 'presentation', FRENCH: 'présentation'},
]
MAIN = 'main'
TMP = 'tmp'
TITLE = {
ENGLISH: 'Incremental Live Operating Systems',
FRENCH: 'Systèmes d’exploitation autonomes incrémentaux',
}
def run(command):
@ -57,6 +63,7 @@ def build(directory, sign):
'mainlanguage': language,
'otherlanguages': other_languages,
'summaries': summaries,
'title': TITLE[language],
}
# transform variables
variables = ''.join([f'\\def\\{k}{{{v}}}'

View file

@ -1,6 +1,8 @@
\chapter*{}
\addcontentsline{toc}{chapter}{\ml{Summaries}{Résumés}}
\title.
\ml{CNAM Engineer thesis}{Mémoire d’Ingénieur CNAM}, Bordeaux 2021.
\summaries