Skip to content

Commit

Permalink
agenda: switch prempt-rt 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 18, 2025
1 parent e1b428b commit c78a32d
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 24 deletions.
10 changes: 4 additions & 6 deletions agenda/preempt-rt-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,11 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onsiteagenda

Expand Down
10 changes: 4 additions & 6 deletions agenda/preempt-rt-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,11 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onsiteagenda

Expand Down
10 changes: 4 additions & 6 deletions agenda/preempt-rt-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,11 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onlineagenda

Expand Down
10 changes: 4 additions & 6 deletions agenda/preempt-rt-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,11 +9,9 @@

\begin{document}

\feshowtitle

\feshowinfo

\showboarditem{stm32mp1}
\feshowsidebar
\feshowfirstpage
\feshowboards

\onlineagenda

Expand Down
27 changes: 27 additions & 0 deletions agenda/preempt-rt.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
\def \trainingduration{2}
}

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

% Training objectives
\ifthenelse{\equal{\agendalanguage}{french}}{
\def \traininggoals{
Expand Down Expand Up @@ -291,7 +293,24 @@
\end{itemize}
}

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

\showboarditem{stm32mp1}
\newpage
}

\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{preemptrtpatch}{lecture}
Expand All @@ -305,8 +324,15 @@
\showagendaitem{realtime}{lecture}
\showagendaitem{debug}{lab}
\showagendaitem{qna}{misc}
\end{tabularx}
}
\def \onsiteagenda {
\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{preemptrtpatch}{lecture}
Expand All @@ -321,4 +347,5 @@
\showagendaday{4}
\showagendaitem{debug}{lab}
\showagendaitem{qna}{misc}
\end{tabularx}
}
Binary file added common/flaticon-preempt-rt-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 c78a32d

Please sign in to comment.