[bootlin/training-materials updates] master: common/agenda.sty: use \def to define variables instead of \newcommand (206baf5e)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Jan 6 22:27:03 CET 2023


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

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

commit 206baf5eb5e3002b82876a393b406250b8207c83
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Fri Jan 6 22:27:03 2023 +0100

    common/agenda.sty: use \def to define variables instead of \newcommand
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


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

206baf5eb5e3002b82876a393b406250b8207c83
 common/agenda.sty | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/common/agenda.sty b/common/agenda.sty
index 68060f6b..1f405a8d 100644
--- a/common/agenda.sty
+++ b/common/agenda.sty
@@ -307,7 +307,7 @@
   }
 }{}
 
-\newcommand \disabilities{
+\def \disabilities{
   \ifthenelse{\equal{\agendalanguage}{french}}{
     \feagendasummaryitem{Handicap}{
       Les participants en situation de handicap qui ont des besoins
@@ -324,7 +324,7 @@
   }
 }
 
-\newcommand \prerequisitecommandline{
+\def \prerequisitecommandline{
   \ifthenelse{\equal{\agendalanguage}{french}}{
   \item {\bf Connaissance et pratique des commandes UNIX ou
       GNU/Linux}: les participants doivent être à l'aise avec
@@ -343,7 +343,7 @@
   }
 }
 
-\newcommand \prerequisiteembeddedlinux{
+\def \prerequisiteembeddedlinux{
   \ifthenelse{\equal{\agendalanguage}{french}}{
   \item {\bf Expérience minimale en développement Linux embarqué}: les
     participants doivent avoir une compréhension minimale de
@@ -364,7 +364,7 @@
   }
 }
 
-\newcommand \prerequisiteclanguage{
+\def \prerequisiteclanguage{
   \ifthenelse{\equal{\agendalanguage}{french}}{
   \item {\bf Expérience solide en programmation avec le langage C}:
     les participants doivent maîtriser l'utilisation de types de
@@ -378,7 +378,7 @@
   }
 }
 
-\newcommand \prerequisiteenglish{
+\def \prerequisiteenglish{
   \ifthenelse{\equal{\agendalanguage}{french}}{
   \item {\bf Niveau minimal requis en anglais: B1}, d'après le {\em
       Common European Framework of References for Languages}, pour nos
@@ -394,7 +394,7 @@
   }
 }
 
-\newcommand \prerequisitekernel{
+\def \prerequisitekernel{
   \ifthenelse{\equal{\agendalanguage}{french}}{
   \item {\bf Expérience en développement bas-niveau sous Linux et avec
       les interfaces matérielles}: les participants doivent avoir une
@@ -514,7 +514,7 @@
   }
 }
 
-\newcommand \certificate{
+\def \certificate{
   \ifthenelse{\equal{\agendalanguage}{french}}{
     \feagendasummaryitem{Modalités\newline d'évaluation}{
       Seuls les participants qui auront assisté à l'intégralité des




More information about the training-materials-updates mailing list