This commit is contained in:
Marc Beninca 2020-10-09 22:27:59 +02:00
parent dbf633b0ae
commit 9ec0b9a3eb
3 changed files with 10 additions and 3 deletions

View file

@ -21,6 +21,10 @@ TITLE = {
ENGLISH: 'Incremental Live Operating Systems', ENGLISH: 'Incremental Live Operating Systems',
FRENCH: 'Systèmes d’exploitation autonomes incrémentaux', FRENCH: 'Systèmes d’exploitation autonomes incrémentaux',
} }
SUBTITLE = {
ENGLISH: '?',
FRENCH: '?',
}
def run(command): def run(command):
@ -59,11 +63,12 @@ def build(directory, sign):
os.chdir(document[ENGLISH]) os.chdir(document[ENGLISH])
# prepare variables # prepare variables
variables = { variables = {
'title': TITLE[language],
'subtitle': SUBTITLE[language],
'author': AUTHOR, 'author': AUTHOR,
'mainlanguage': language, 'mainlanguage': language,
'otherlanguages': other_languages, 'otherlanguages': other_languages,
'summaries': summaries, 'summaries': summaries,
'title': TITLE[language],
} }
# transform variables # transform variables
variables = ''.join([f'\\def\\{k}{{{v}}}' variables = ''.join([f'\\def\\{k}{{{v}}}'

View file

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

View file

@ -34,7 +34,8 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS
\hrq \hrq
\title \title\\
\subtitle
\ml \ml
{Defended on Month DD, 2021} {Defended on Month DD, 2021}