date,typeshort

This commit is contained in:
Marc Beninca 2020-10-18 01:20:02 +02:00
parent 29aaa6c721
commit 3c99cd5618
2 changed files with 6 additions and 12 deletions

View file

@ -28,15 +28,6 @@ SUBTITLE = {
ENGLISH: 'a reversal of conventional approaches', ENGLISH: 'a reversal of conventional approaches',
FRENCH: 'une inversion des approches conventionnelles', FRENCH: 'une inversion des approches conventionnelles',
} }
DATE_SHORT = '2021'
DATE_LONG = {
ENGLISH: f'Month DD, {DATE_SHORT}',
FRENCH: f'JJ Mois {DATE_SHORT}',
}
TYPE_SHORT = {
ENGLISH: 'Thesis',
FRENCH: 'Mémoire',
}
def run(command): def run(command):
@ -78,9 +69,6 @@ def build(directory, sign):
'titleshort': TITLE_SHORT[language], 'titleshort': TITLE_SHORT[language],
'titlelong': TITLE_LONG[language], 'titlelong': TITLE_LONG[language],
'titlesub': SUBTITLE[language], 'titlesub': SUBTITLE[language],
'dateshort': DATE_SHORT,
'datelong': DATE_LONG[language],
'typeshort': TYPE_SHORT[language],
'name': MAIN, 'name': MAIN,
'mainlanguage': language, 'mainlanguage': language,
'otherlanguages': other_languages, 'otherlanguages': other_languages,

View file

@ -1,7 +1,13 @@
% variables % variables
\def\authorname{BENINCA} \def\authorname{BENINCA}
\def\authorshort{M. \authorname} \def\authorshort{M. \authorname}
\def\authorlong{Marc \authorname} \def\authorlong{Marc \authorname}
\def\dateshort{2021}
\def\datelong{\ml{Month DD, \dateshort}{JJ Mois \dateshort}}
\def\typeshort{\ml{Thesis}{Mémoire}}
\def\typelong{\ml{CNAM Master's \typeshort} \def\typelong{\ml{CNAM Master's \typeshort}
{\typeshort\ d’Ingénieur CNAM}} {\typeshort\ d’Ingénieur CNAM}}