[bootlin/training-materials updates] master: agenda: refactor how to specify the training title (f8796c93)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 31 15:57:53 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/f8796c938579d58f8bf47bd47d75aac7e9b80741

>---------------------------------------------------------------

commit f8796c938579d58f8bf47bd47d75aac7e9b80741
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Tue Aug 31 15:41:32 2021 +0200

    agenda: refactor how to specify the training title
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


>---------------------------------------------------------------

f8796c938579d58f8bf47bd47d75aac7e9b80741
 agenda/autotools-agenda.tex                | 14 ++++----------
 agenda/boot-time-agenda.tex                | 14 ++++----------
 agenda/boot-time-fr-agenda.tex             | 14 ++++----------
 agenda/boot-time-online-agenda.tex         | 14 ++++----------
 agenda/boot-time-online-fr-agenda.tex      | 14 ++++----------
 agenda/buildroot-agenda.tex                | 14 ++++----------
 agenda/buildroot-fr-agenda.tex             | 14 ++++----------
 agenda/buildroot-online-agenda.tex         | 14 ++++----------
 agenda/buildroot-online-fr-agenda.tex      | 14 ++++----------
 agenda/embedded-linux-4d-agenda.tex        | 14 ++++----------
 agenda/embedded-linux-4d-fr-agenda.tex     | 14 ++++----------
 agenda/embedded-linux-agenda.tex           | 14 ++++----------
 agenda/embedded-linux-fr-agenda.tex        | 14 ++++----------
 agenda/embedded-linux-online-agenda.tex    | 14 ++++----------
 agenda/embedded-linux-online-fr-agenda.tex | 14 ++++----------
 agenda/git-agenda.tex                      | 14 ++++----------
 agenda/graphics-agenda.tex                 | 13 ++++---------
 agenda/graphics-fr-agenda.tex              | 14 ++++----------
 agenda/graphics-online-agenda.tex          | 14 ++++----------
 agenda/graphics-online-fr-agenda.tex       | 15 +++++----------
 agenda/linux-kernel-agenda.tex             | 14 ++++----------
 agenda/linux-kernel-fr-agenda.tex          | 14 ++++----------
 agenda/linux-kernel-online-agenda.tex      | 14 ++++----------
 agenda/linux-kernel-online-fr-agenda.tex   | 14 ++++----------
 agenda/yocto-agenda.tex                    | 14 ++++----------
 agenda/yocto-fr-agenda.tex                 | 14 ++++----------
 agenda/yocto-online-agenda.tex             | 14 ++++----------
 agenda/yocto-online-fr-agenda.tex          | 14 ++++----------
 agenda/yocto-stm32-online-agenda.tex       | 14 ++++----------
 agenda/yocto-stm32-online-fr-agenda.tex    | 14 ++++----------
 common/agenda.sty                          | 12 +++++++++++-
 31 files changed, 132 insertions(+), 300 deletions(-)

diff --git a/agenda/autotools-agenda.tex b/agenda/autotools-agenda.tex
index fdeef209..b82b5d4e 100644
--- a/agenda/autotools-agenda.tex
+++ b/agenda/autotools-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Autotools training}
+\def \trainingduration{On-site training, 1 day}
 
-\hypersetup{pdftitle={Autotools training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-{\em Autotools} training\\
-\large
-1-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/boot-time-agenda.tex b/agenda/boot-time-agenda.tex
index 986a0747..68e55fe4 100644
--- a/agenda/boot-time-agenda.tex
+++ b/agenda/boot-time-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux boot time optimization training}
+\def \trainingduration{On-site training, 3 days}
 
-\hypersetup{pdftitle={Boot time optimization training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Boot Time Optimization Training\\
-\large
-3-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/boot-time-fr-agenda.tex b/agenda/boot-time-fr-agenda.tex
index 0d87849d..505d8a6d 100644
--- a/agenda/boot-time-fr-agenda.tex
+++ b/agenda/boot-time-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation optimisation du temps de démarrage de Linux embarqué}
+\def \trainingduration{Formation sur site, 3 jours}
 
-\hypersetup{pdftitle={Formation optimisation du temps de démarrage de Linux embarqué},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation optimisation du temps de démarrage de Linux embarqué\\
-\large
-Session de 3 jours
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/boot-time-online-agenda.tex b/agenda/boot-time-online-agenda.tex
index c78a583b..cf8a6e81 100644
--- a/agenda/boot-time-online-agenda.tex
+++ b/agenda/boot-time-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux boot time optimization training}
+\def \trainingduration{On-line seminar, 4 sessions of 4 hours}
 
-\hypersetup{pdftitle={Boot time optimization training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Boot Time Optimization Training\\
-\large
-On-line seminar
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/boot-time-online-fr-agenda.tex b/agenda/boot-time-online-fr-agenda.tex
index 5d06fa10..db2e07ec 100644
--- a/agenda/boot-time-online-fr-agenda.tex
+++ b/agenda/boot-time-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation optimisation du temps de démarrage de Linux embarqué}
+\def \trainingduration{Séminaire en ligne, 4 sessions de 4 heures}
 
-\hypersetup{pdftitle={Formation optimisation du temps de démarrage de Linux embarqué},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation optimisation du temps de démarrage de Linux embarqué\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/buildroot-agenda.tex b/agenda/buildroot-agenda.tex
index 20da9ed1..639a4806 100644
--- a/agenda/buildroot-agenda.tex
+++ b/agenda/buildroot-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux development with Buildroot training}
+\def \trainingduration{On-site training, 3 days}
 
-\hypersetup{pdftitle={Buildroot training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux development with Buildroot training\\
-\large
-3-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/buildroot-fr-agenda.tex b/agenda/buildroot-fr-agenda.tex
index 66357567..a1953be1 100644
--- a/agenda/buildroot-fr-agenda.tex
+++ b/agenda/buildroot-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développemment Linux embarqué avec Buildroot}
+\def \trainingduration{Formation sur site, 3 jours}
 
-\hypersetup{pdftitle={Buildroot training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement Linux embarqué avec Buildroot\\
-\large
-Session de 3 jours
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/buildroot-online-agenda.tex b/agenda/buildroot-online-agenda.tex
index d903a041..b069a731 100644
--- a/agenda/buildroot-online-agenda.tex
+++ b/agenda/buildroot-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux development with Buildroot training}
+\def \trainingduration{On-line seminar, 7 sessions of 4 hours}
 
-\hypersetup{pdftitle={Buildroot training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux development with Buildroot training\\
-\large
-On-line seminar
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/buildroot-online-fr-agenda.tex b/agenda/buildroot-online-fr-agenda.tex
index b7ec329c..2af15229 100644
--- a/agenda/buildroot-online-fr-agenda.tex
+++ b/agenda/buildroot-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développemment Linux embarqué avec Buildroot}
+\def \trainingduration{Séminaire en ligne, 5 sessions de 4 heures}
 
-\hypersetup{pdftitle={Buildroot training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement Linux embarqué avec Buildroot\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/embedded-linux-4d-agenda.tex b/agenda/embedded-linux-4d-agenda.tex
index 3774a706..a61b5316 100644
--- a/agenda/embedded-linux-4d-agenda.tex
+++ b/agenda/embedded-linux-4d-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux system development training}
+\def \trainingduration{On-site training, 4 days}
 
-\hypersetup{pdftitle={Embedded Linux system development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux system development training\\
-\large
-4-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/embedded-linux-4d-fr-agenda.tex b/agenda/embedded-linux-4d-fr-agenda.tex
index 820922cb..3aa144cf 100644
--- a/agenda/embedded-linux-4d-fr-agenda.tex
+++ b/agenda/embedded-linux-4d-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Développement de systèmes Linux embarqué}
+\def \trainingduration{Formation sur site, 4 jours}
 
-\hypersetup{pdftitle={Développement de systèmes Linux embarqué},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation au développement de systèmes Linux embarqué\\
-\large
-Session de 4 jours
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/embedded-linux-agenda.tex b/agenda/embedded-linux-agenda.tex
index 70550c19..cac26762 100644
--- a/agenda/embedded-linux-agenda.tex
+++ b/agenda/embedded-linux-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux system development training}
+\def \trainingduration{On-site training, 5 days}
 
-\hypersetup{pdftitle={Embedded Linux system development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux system development training\\
-\large
-5-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/embedded-linux-fr-agenda.tex b/agenda/embedded-linux-fr-agenda.tex
index 7d93d366..bc0e2290 100644
--- a/agenda/embedded-linux-fr-agenda.tex
+++ b/agenda/embedded-linux-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Développement de systèmes Linux embarqué}
+\def \trainingduration{Formation sur site, 5 jours}
 
-\hypersetup{pdftitle={Développement de systèmes Linux embarqué},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation au développement de systèmes Linux embarqué\\
-\large
-Session de 5 jours
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/embedded-linux-online-agenda.tex b/agenda/embedded-linux-online-agenda.tex
index 1dbb9800..a29aebce 100644
--- a/agenda/embedded-linux-online-agenda.tex
+++ b/agenda/embedded-linux-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux system development training}
+\def \trainingduration{On-line seminar, 7 sessions of 4 hours}
 
-\hypersetup{pdftitle={Embedded Linux system development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux system development training\\
-\large
-On-line seminar
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/embedded-linux-online-fr-agenda.tex b/agenda/embedded-linux-online-fr-agenda.tex
index 2816624b..83c5f377 100644
--- a/agenda/embedded-linux-online-fr-agenda.tex
+++ b/agenda/embedded-linux-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Développement de systèmes Linux embarqué}
+\def \trainingduration{Séminaire en ligne, 7 sessions de 4 heures}
 
-\hypersetup{pdftitle={Développement de systèmes Linux embarqué},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation au développement de systèmes Linux embarqué\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/git-agenda.tex b/agenda/git-agenda.tex
index 01d281ee..d85e4d67 100644
--- a/agenda/git-agenda.tex
+++ b/agenda/git-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Git training}
+\def \trainingduration{On-site training, 1 day}
 
-\hypersetup{pdftitle={Git training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Source control using Git training\\
-\large
-1-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/graphics-agenda.tex b/agenda/graphics-agenda.tex
index db31d84a..517a3728 100644
--- a/agenda/graphics-agenda.tex
+++ b/agenda/graphics-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Understanding the Linux Graphics Stack training}
+\def \trainingduration{On-site training, 2 days}
 
-\hypersetup{pdftitle={Training - Understanding the Linux Graphics Stack},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,12 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Training - Understanding the Linux Graphics Stack\\
-\large
-2-day session
-\end{center}
+\feshowtitle
 
 \vspace{1cm}
 \small
diff --git a/agenda/graphics-fr-agenda.tex b/agenda/graphics-fr-agenda.tex
index 13a90aa9..88943ce5 100644
--- a/agenda/graphics-fr-agenda.tex
+++ b/agenda/graphics-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation Comprendre la stack graphique sous Linux}
+\def \trainingduration{Formation sur site, 2 jours}
 
-\hypersetup{pdftitle={Formation - Comprendre la stack graphique sous Linux},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,14 +11,8 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation - Comprendre la stack graphique sous Linux\\
-\large
-Session de 2 journées
-\end{center}
+\feshowtitle
 
-\vspace{1cm}
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
 \newcolumntype{h}{>{\columncolor{felightblue}}X}
diff --git a/agenda/graphics-online-agenda.tex b/agenda/graphics-online-agenda.tex
index 4c3709f4..a7ebbdf5 100644
--- a/agenda/graphics-online-agenda.tex
+++ b/agenda/graphics-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Understanding the Linux Graphics Stack training}
+\def \trainingduration{On-line seminar, 4 sessions of 4 hours}
 
-\hypersetup{pdftitle={Training - Understanding the Linux Graphics Stack},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,14 +11,8 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Training - Understanding the Linux Graphics Stack\\
-\large
-On-line seminar
-\end{center}
+\feshowtitle
 
-\vspace{1cm}
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
 \newcolumntype{h}{>{\columncolor{felightblue}}X}
diff --git a/agenda/graphics-online-fr-agenda.tex b/agenda/graphics-online-fr-agenda.tex
index 29917ce2..040fe342 100644
--- a/agenda/graphics-online-fr-agenda.tex
+++ b/agenda/graphics-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation Comprendre la stack graphique sous Linux}
+\def \trainingduration{Séminaire en ligne, 4 sessions de 4 heures}
 
-\hypersetup{pdftitle={Formation - Comprendre la stack graphique sous Linux},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,8 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation - Comprendre la stack graphique sous Linux\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
+
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
 \newcolumntype{h}{>{\columncolor{felightblue}}X}
diff --git a/agenda/linux-kernel-agenda.tex b/agenda/linux-kernel-agenda.tex
index 82668fa9..e557e6e2 100644
--- a/agenda/linux-kernel-agenda.tex
+++ b/agenda/linux-kernel-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux kernel and driver development training}
+\def \trainingduration{On-site training, 5 days}
 
-\hypersetup{pdftitle={Embedded Linux kernel and driver development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux kernel and driver development training\\
-\large
-5-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/linux-kernel-fr-agenda.tex b/agenda/linux-kernel-fr-agenda.tex
index 694212f3..f550f834 100644
--- a/agenda/linux-kernel-fr-agenda.tex
+++ b/agenda/linux-kernel-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développement noyau et pilotes Linux}
+\def \trainingduration{Formation sur site, 5 jours}
 
-\hypersetup{pdftitle={Formation développement noyau et pilotes Linux},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement noyau et pilotes Linux\\
-\large
-Session de 5 jours
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/linux-kernel-online-agenda.tex b/agenda/linux-kernel-online-agenda.tex
index 99880a04..7b582375 100644
--- a/agenda/linux-kernel-online-agenda.tex
+++ b/agenda/linux-kernel-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Embedded Linux kernel and driver development training}
+\def \trainingduration{On-line seminar, 7 sessions of 4 hours}
 
-\hypersetup{pdftitle={Embedded Linux kernel and driver development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Embedded Linux kernel and driver development training\\
-\large
-On-line seminar
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/linux-kernel-online-fr-agenda.tex b/agenda/linux-kernel-online-fr-agenda.tex
index 1bee286e..f368a7d5 100644
--- a/agenda/linux-kernel-online-fr-agenda.tex
+++ b/agenda/linux-kernel-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développement noyau et pilotes Linux}
+\def \trainingduration{Séminaire en ligne, 7 sessions de 4 heures}
 
-\hypersetup{pdftitle={Formation développement noyau et pilotes Linux},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement noyau et pilotes Linux\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/yocto-agenda.tex b/agenda/yocto-agenda.tex
index bf965945..f384d3c4 100644
--- a/agenda/yocto-agenda.tex
+++ b/agenda/yocto-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Yocto Project and OpenEmbedded development training}
+\def \trainingduration{On-site training, 3 days}
 
-\hypersetup{pdftitle={Yocto Project and OpenEmbedded development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Yocto Project and OpenEmbedded training\\
-\large
-3-day session
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/yocto-fr-agenda.tex b/agenda/yocto-fr-agenda.tex
index 598e2703..9b4c0708 100644
--- a/agenda/yocto-fr-agenda.tex
+++ b/agenda/yocto-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développement Linux embarqué avec Yocto Project et OpenEmbedded}
+\def \trainingduration{Formation sur site, 3 jours}
 
-\hypersetup{pdftitle={Formation développement Linux embarqué avec Yocto Project et OpenEmbedded},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement Linux embarqué avec Yocto Project et OpenEmbedded\\
-\large
-Session de 3 jours
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/yocto-online-agenda.tex b/agenda/yocto-online-agenda.tex
index 304e4f42..880e8d80 100644
--- a/agenda/yocto-online-agenda.tex
+++ b/agenda/yocto-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Yocto Project and OpenEmbedded development training}
+\def \trainingduration{On-line seminar, 4 sessions of 4 hours}
 
-\hypersetup{pdftitle={Yocto Project and OpenEmbedded development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Yocto Project and OpenEmbedded training\\
-\large
-On-line seminar
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/yocto-online-fr-agenda.tex b/agenda/yocto-online-fr-agenda.tex
index 8524b93d..13152b30 100644
--- a/agenda/yocto-online-fr-agenda.tex
+++ b/agenda/yocto-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développement Linux embarqué avec Yocto Project et OpenEmbedded}
+\def \trainingduration{Formation en ligne, 4 sessions de 4 heures}
 
-\hypersetup{pdftitle={Formation développement Linux embarqué avec Yocto Project et OpenEmbedded},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement Linux embarqué avec Yocto Project et OpenEmbedded\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/yocto-stm32-online-agenda.tex b/agenda/yocto-stm32-online-agenda.tex
index 408f5ebf..5b9802a4 100644
--- a/agenda/yocto-stm32-online-agenda.tex
+++ b/agenda/yocto-stm32-online-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Yocto Project and OpenEmbedded development training}
+\def \trainingduration{On-line seminar, 4 sessions of 4 hours}
 
-\hypersetup{pdftitle={Yocto Project and OpenEmbedded development training},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Yocto Project and OpenEmbedded training\\
-\large
-On-line seminar
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/agenda/yocto-stm32-online-fr-agenda.tex b/agenda/yocto-stm32-online-fr-agenda.tex
index 5572f96a..3c7b35a6 100644
--- a/agenda/yocto-stm32-online-fr-agenda.tex
+++ b/agenda/yocto-stm32-online-fr-agenda.tex
@@ -1,9 +1,9 @@
 \documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
 
-\usepackage{agenda}
+\def \trainingtitle{Formation développement Linux embarqué avec Yocto Project et OpenEmbedded}
+\def \trainingduration{Séminaire en ligne, 4 sessions de 4 heures}
 
-\hypersetup{pdftitle={Formation développement Linux embarqué avec Yocto Project et OpenEmbedded},
-  pdfauthor={Bootlin}}
+\usepackage{agenda}
 
 \renewcommand{\arraystretch}{2.0}
 
@@ -11,13 +11,7 @@
 
 \setlength{\arrayrulewidth}{0.8pt}
 
-\begin{center}
-\LARGE
-Formation développement Linux embarqué avec Yocto Project et OpenEmbedded\\
-\large
-Séminaire de formation en ligne
-\end{center}
-\vspace{1cm}
+\feshowtitle
 
 \small
 \newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
diff --git a/common/agenda.sty b/common/agenda.sty
index df2ed543..d3857f0f 100644
--- a/common/agenda.sty
+++ b/common/agenda.sty
@@ -30,7 +30,7 @@
 %% some space between each paragraph.
 \usepackage{parskip}
 
-\hypersetup{colorlinks=true,linkcolor=gray,urlcolor=gray}
+\hypersetup{colorlinks=true,linkcolor=gray,urlcolor=gray,pdftitle=\trainingtitle{},pdfauthor=Bootlin}
 
 \fancyhead{}
 \fancyfoot{}
@@ -103,3 +103,13 @@
 \end{tabularx}
 \vspace{0.5cm}
 }
+
+\newcommand\feshowtitle{
+  \begin{center}
+    \LARGE
+    \trainingtitle{}\\
+    \large
+    \trainingduration{}
+  \end{center}
+  \vspace{1cm}
+}
\ No newline at end of file




More information about the training-materials-updates mailing list