summaries
This commit is contained in:
parent
2849d4871e
commit
f7103914c9
4 changed files with 33 additions and 5 deletions
|
@ -31,12 +31,15 @@ def build(directory, sign):
|
|||
tmp = os.path.join(directory, TMP)
|
||||
# for each language
|
||||
for language in LANGUAGES:
|
||||
# other languages
|
||||
other_languages = ','.join(
|
||||
[lang for lang in LANGUAGES if lang is not language])
|
||||
# languages
|
||||
other_languages = [lang for lang in LANGUAGES if lang is not language]
|
||||
languages = [language, *other_languages]
|
||||
other_languages = ','.join(other_languages)
|
||||
summaries = ''.join(
|
||||
[f'\input{{summary.{lang}}}' for lang in languages])
|
||||
# display languages
|
||||
print()
|
||||
print(language, other_languages)
|
||||
for item in ['', language, other_languages, languages, summaries]:
|
||||
print(item)
|
||||
# for each document
|
||||
for document in DOCUMENTS:
|
||||
# display language
|
||||
|
@ -53,6 +56,7 @@ def build(directory, sign):
|
|||
'author': AUTHOR,
|
||||
'mainlanguage': language,
|
||||
'otherlanguages': other_languages,
|
||||
'summaries': summaries,
|
||||
}
|
||||
# transform variables
|
||||
variables = ''.join([f'\\def\\{k}{{{v}}}'
|
||||
|
|
|
@ -3,4 +3,6 @@
|
|||
|
||||
\textbf{Bordeaux, 2021}
|
||||
|
||||
\summaries
|
||||
|
||||
\thispagestyle{empty}
|
||||
|
|
11
cnam/travaux/mémoire/thesis/summary.en.tex
Normal file
11
cnam/travaux/mémoire/thesis/summary.en.tex
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
\hr
|
||||
|
||||
\textbf{SUMMARY}
|
||||
|
||||
.
|
||||
|
||||
…
|
||||
|
||||
\textbf{Key words: ?, ?, ?, ?,\\
|
||||
?, ?, ?, ?.}
|
11
cnam/travaux/mémoire/thesis/summary.fr.tex
Normal file
11
cnam/travaux/mémoire/thesis/summary.fr.tex
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
\hr
|
||||
|
||||
\textbf{RÉSUMÉ}
|
||||
|
||||
.
|
||||
|
||||
…
|
||||
|
||||
\textbf{Mots clés : ?, ?, ?, ?,\\
|
||||
?, ?, ?, ?.}
|
Loading…
Add table
Add a link
Reference in a new issue