Skip to content

Commit

Permalink
agenda: switch yocto agenda to new template
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Bonnefille <[email protected]>
  • Loading branch information
Taumille committed Jan 14, 2025
1 parent 6cbd5d9 commit 1fd4ac5
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 38 deletions.
12 changes: 4 additions & 8 deletions agenda/yocto-agenda.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
\documentclass[a4paper]{article}

\def \trainingtype{onsite}
\def \agendalanguage{english}
Expand All @@ -9,13 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\showboarditem{beagleboneblack}
\showboarditem{beagleplay}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onsiteagenda

Expand Down
12 changes: 4 additions & 8 deletions agenda/yocto-fr-agenda.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
\documentclass[a4paper]{article}

\def \trainingtype{onsite}
\def \agendalanguage{french}
Expand All @@ -9,13 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\showboarditem{beagleboneblack}
\showboarditem{beagleplay}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onsiteagenda

Expand Down
12 changes: 4 additions & 8 deletions agenda/yocto-online-agenda.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
\documentclass[a4paper]{article}

\def \trainingtype{online}
\def \agendalanguage{english}
Expand All @@ -9,13 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\showboarditem{beagleboneblack}
\showboarditem{beagleplay}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onlineagenda

Expand Down
12 changes: 4 additions & 8 deletions agenda/yocto-online-fr-agenda.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\documentclass[a4paper,12pt,obeyspaces,spaces,hyphens]{article}
\documentclass[a4paper]{article}

\def \trainingtype{online}
\def \agendalanguage{french}
Expand All @@ -9,13 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\showboarditem{beagleboneblack}
\showboarditem{beagleplay}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onlineagenda

Expand Down
41 changes: 35 additions & 6 deletions agenda/yocto.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
\def \trainingduration{3}
}

\def \trainingicon{common/flaticon-yocto-training.png}

% Training objectives
\ifthenelse{\equal{\agendalanguage}{french}}{
\def \traininggoals{
Expand Down Expand Up @@ -61,6 +63,19 @@
}
}

\def \feshowboards{
\ifthenelse{\equal{\agendalanguage}{french}}{
\section{Plateformes matérielle pour les travaux pratiques}
}{
\section{Hardware platform for practical labs}
}

\showboarditem{stm32mp1}
\showboarditem{beagleboneblack}
\showboarditem{beagleplay}
\newpage
}

% Training prerequisites
\def \trainingprerequisites{
\begin{itemize}
Expand Down Expand Up @@ -647,6 +662,12 @@
}

\def \onlineagenda {
\ifthenelse{\equal{\agendalanguage}{french}}{
\section{Programme de la formation}
}{
\section{Training Schedule}
}
\begin{tabularx}{\textwidth}{p{2cm}p{5cm}p{11cm}}
\showagendaday{1}
\showagendaitem{intro}{lecture}
\showagendaitem{overview}{lecture}
Expand Down Expand Up @@ -678,31 +699,38 @@
\showagendaitem{automatinglayermanagement}{lecture}
\showagendaitem{runtimepackagemanagement}{lecture}
\showagendaitem{qna}{misc}
\end{tabularx}
}

\def \onsiteagenda {
\showonsiteagendaday{1}{morning}
\ifthenelse{\equal{\agendalanguage}{french}}{
\section{Programme de la formation}
}{
\section{Training Schedule}
}
\begin{tabularx}{\textwidth}{p{2cm}p{5cm}p{11cm}}
\showagendaday{1}{morning}
\showagendaitem{intro}{lecture}
\showagendaitem{overview}{lecture}
\showagendaitem{usingbasics}{lecture}
\showagendaitem{firstbuild}{lab}
\showonsiteagendaday{1}{afternoon}
\showagendaday{1}{afternoon}
\showagendaitem{flashingbooting}{lab}
\showagendaitem{usingadvanced}{lecture}
\showagendaitem{nfsconfiguring}{lab}
\showonsiteagendaday{2}{morning}
\showagendaday{2}{morning}
\showagendaitem{writingrecipesbasics}{lecture}
\showagendaitem{appcompilation}{lab}
\showagendaitem{writingrecipesadvanced}{lecture}
\showonsiteagendaday{2}{afternoon}
\showagendaday{2}{afternoon}
\showagendaitem{layers}{lecture}
\showagendaitem{writinglayer}{lab}
\showonsiteagendaday{3}{morning}
\showagendaday{3}{morning}
\showagendaitem{extendrecipe}{lab}
\showagendaitem{writingbsp}{lecture}
\showagendaitem{kernelchanges}{lab}
\showagendaitem{distrolayer}{lecture}
\showonsiteagendaday{3}{afternoon}
\showagendaday{3}{afternoon}
\showagendaitem{image}{lecture}
\showagendaitem{image}{lab}
\showagendaitem{writingrecipesgoingfurther}{lecture}
Expand All @@ -713,4 +741,5 @@
\showagendaitem{devtool}{lab}
\showagendaitem{automatinglayermanagement}{lecture}
\showagendaitem{runtimepackagemanagement}{lecture}
\end{tabularx}
}
Binary file added common/flaticon-yocto-training.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1fd4ac5

Please sign in to comment.