[bootlin/training-materials updates] master: common/agenda.sty: make it possible to override \traininglanguages (2618d866)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Feb 17 08:52:26 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/2618d8669497d361661126e5e33dc2c12d4ce559
>---------------------------------------------------------------
commit 2618d8669497d361661126e5e33dc2c12d4ce559
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Fri Feb 17 08:52:26 2023 +0100
common/agenda.sty: make it possible to override \traininglanguages
This will allow each training course to potentially override it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
2618d8669497d361661126e5e33dc2c12d4ce559
common/agenda.sty | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/common/agenda.sty b/common/agenda.sty
index 40e13954..b6910c52 100644
--- a/common/agenda.sty
+++ b/common/agenda.sty
@@ -132,15 +132,17 @@
\def \trainingdoclink{https://bootlin.com/doc/training/\training}
}
-\ifthenelse{\equal{\agendalanguage}{french}}{
- \def \traininglanguages{
- Présentations : Français
- \newline Supports : Anglais
- }
-}{
- \def \traininglanguages{
- Oral lectures: English, French.
- \newline Materials: English.
+\ifthenelse{\isundefined{\traininglanguages}}{
+ \ifthenelse{\equal{\agendalanguage}{french}}{
+ \def \traininglanguages{
+ Présentations : Français
+ \newline Supports : Anglais
+ }
+ }{
+ \def \traininglanguages{
+ Oral lectures: English, French.
+ \newline Materials: English.
+ }
}
}
More information about the training-materials-updates
mailing list