diff --git a/cnam/travaux/thesis/build.py b/cnam/travaux/thesis/build.py index 29d46e7..0e55962 100755 --- a/cnam/travaux/thesis/build.py +++ b/cnam/travaux/thesis/build.py @@ -16,18 +16,6 @@ DOCUMENTS = [ {ENGLISH: 'thesis', FRENCH: 'mémoire'}, {ENGLISH: 'presentation', FRENCH: 'présentation'}, ] -TITLE_SHORT = { - ENGLISH: 'Incremental Live OS', - FRENCH: 'SE autonomes incrémentaux', -} -TITLE_LONG = { - ENGLISH: 'Incremental Live Operating Systems', - FRENCH: 'Systèmes d’Exploitation autonomes incrémentaux', -} -SUBTITLE = { - ENGLISH: 'a reversal of conventional approaches', - FRENCH: 'une inversion des approches conventionnelles', -} def run(command): @@ -66,9 +54,6 @@ def build(directory, sign): os.chdir(document[ENGLISH]) # prepare variables variables = { - 'titleshort': TITLE_SHORT[language], - 'titlelong': TITLE_LONG[language], - 'titlesub': SUBTITLE[language], 'name': MAIN, 'mainlanguage': language, 'otherlanguages': other_languages, diff --git a/cnam/travaux/thesis/common.tex b/cnam/travaux/thesis/common.tex index 9ad7190..9d4b43f 100644 --- a/cnam/travaux/thesis/common.tex +++ b/cnam/travaux/thesis/common.tex @@ -7,6 +7,12 @@ \def\dateshort{2021} \def\datelong{\ml{Month DD, \dateshort}{JJ Mois \dateshort}} +\def\titleshort{\ml{Incremental Live OS}{SE autonomes incrémentaux}} +\def\titlelong{\ml{Incremental Live Operating Systems} +{Systèmes d’Exploitation autonomes incrémentaux}} +\def\titlesub{\ml{a reversal of conventional approaches} +{une inversion des approches conventionnelles}} + \def\typeshort{\ml{Thesis}{Mémoire}} \def\typelong{\ml{CNAM Master's \typeshort} {\typeshort\ d’Ingénieur CNAM}}