This commit is contained in:
Marc Beninca 2020-10-13 13:08:33 +02:00
parent 4413d3f0cb
commit dbfe0bae43
3 changed files with 12 additions and 3 deletions

View file

@ -5,7 +5,9 @@ import shutil
import subprocess import subprocess
import sys import sys
AUTHOR = 'Marc BENINCA' AUTHOR_NAME = 'BENINCA'
AUTHOR_SHORT = f'M. {AUTHOR_NAME}'
AUTHOR_LONG = f'Marc {AUTHOR_NAME}'
MAIN = 'main' MAIN = 'main'
TMP = 'tmp' TMP = 'tmp'
@ -76,7 +78,8 @@ def build(directory, sign):
os.chdir(document[ENGLISH]) os.chdir(document[ENGLISH])
# prepare variables # prepare variables
variables = { variables = {
'author': AUTHOR, 'authorshort': AUTHOR_SHORT,
'authorlong': AUTHOR_LONG,
'titlelong': TITLE_LONG[language], 'titlelong': TITLE_LONG[language],
'titlesub': SUBTITLE[language], 'titlesub': SUBTITLE[language],
'dateshort': DATE_SHORT, 'dateshort': DATE_SHORT,

View file

@ -1,5 +1,11 @@
\logo{\includegraphics[height=7.5em]{../../cnam}} \logo{\includegraphics[height=7.5em]{../../cnam}}
\title[\titlelong]{\titlelong} \title[\titlelong]{\titlelong}
\subtitle{\titlesub} \subtitle{\titlesub}
\author[\authorshort]{\authorlong}
\institute[CNAM]{Conservatoire National des Arts et Métiers} \institute[CNAM]{Conservatoire National des Arts et Métiers}
\date[\typeshort \dateshort]{\typelong\\\datelong} \date[\typeshort \dateshort]{\typelong\\\datelong}

View file

@ -30,7 +30,7 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS
\ml{by}{par} \ml{by}{par}
\vfill \vfill
\author \authorlong
\hrq \hrq