This commit is contained in:
Marc Beninca 2020-10-18 01:15:58 +02:00
parent 9992a38f8e
commit 29aaa6c721
2 changed files with 7 additions and 9 deletions

View file

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

View file

@ -1,3 +1,10 @@
% variables
\def\authorname{BENINCA}
\def\authorshort{M. \authorname}
\def\authorlong{Marc \authorname}
\def\typelong{\ml{CNAM Master's \typeshort}
{\typeshort\ d’Ingénieur CNAM}}
% set languages
\usepackage{polyglossia}
% recommended
@ -25,7 +32,3 @@ ERROR%
\newcommand{\en}[1]{\textenglish{#1}}
\newcommand{\fr}[1]{\textfrench{#1}}
% variables
\def\typelong{\ml{CNAM Master's \typeshort}{\typeshort\ d’Ingénieur CNAM}}