Skip to content

Commit

Permalink
Revert "agenda/common.inc.tex: drop \showagendaday{}"
Browse files Browse the repository at this point in the history
This reverts commit 3f04544 and adds
documentation for the macro \showagendaday
  • Loading branch information
Taumille committed Jan 14, 2025
1 parent 2db36d3 commit c1c51ee
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 82 deletions.
16 changes: 8 additions & 8 deletions agenda/audio.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -530,21 +530,21 @@
}

\def \onlineagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{representation}{lecture}
\showagendaitem{hardware}{lecture}
\showagendaitem{asoc}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{kernelhelpers}{lecture}
\showagendaitem{audiocomponents}{lecture}
\showagendaitem{routing}{lecture}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{userspacehardwareconfiguration}{lecture}
\showagendaitem{userspacehardwareconfiguration}{lab}
\showagendaitem{userspacecontrolconfiguration}{lecture}
\showagendaitem{userspacecontrolconfiguration}{lab}
\showagendaitem{userspaceplayaudio}{lecture}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{troubleshooting}{lecture}
\showagendaitem{debugging}{lab}
\showagendaitem{pipewire}{lecture}
Expand All @@ -554,21 +554,21 @@
}

\def \onsiteagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{representation}{lecture}
\showagendaitem{hardware}{lecture}
\showagendaitem{asoc}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{kernelhelpers}{lecture}
\showagendaitem{audiocomponents}{lecture}
\showagendaitem{routing}{lecture}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{userspacehardwareconfiguration}{lecture}
\showagendaitem{userspacehardwareconfiguration}{lab}
\showagendaitem{userspacecontrolconfiguration}{lecture}
\showagendaitem{userspacecontrolconfiguration}{lab}
\showagendaitem{userspaceplayaudio}{lecture}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{troubleshooting}{lecture}
\showagendaitem{debugging}{lab}
\showagendaitem{pipewire}{lecture}
Expand Down
22 changes: 11 additions & 11 deletions agenda/buildroot.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -607,29 +607,29 @@
}

\def \onlineagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{intro}{lecture}
\showagendaitem{introbuildroot}{lecture}
\showagendaitem{basic}{lab}
\showagendaitem{configuration}{lecture}
\showagendaitem{buildrootsource}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{toolchain}{lecture}
\showagendaitem{manageconfiguration}{lecture}
\showagendaitem{rootfsconstruction}{lecture}
\showagendaitem{rootfscustomization}{lab}
\showagendaitem{downloadbuildroot}{lecture}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{gnumake}{lecture}
\showagendaitem{newpackage}{lecture}
\showagendaitem{newpackage}{lab}
\showagendaitem{advancepackage}{lecture}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{advancepackage}{lab}
\showagendaitem{analyzebuild}{lecture}
\showagendaitem{advanced}{lecture}
\showagendaitem{advanced}{lab}
\showonlineagendaday{5}
\showagendaday{5}
\showagendaitem{appdevelopment}{lecture}
\showagendaitem{appdevelopment}{lab}
\showagendaitem{internals}{lecture}
Expand All @@ -638,30 +638,30 @@
}

\def \onsiteagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{intro}{lecture}
\showagendaitem{introbuildroot}{lecture}
\showagendaitem{basic}{lab}
\showagendaitem{configuration}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{buildrootsource}{lecture}
\showagendaitem{toolchain}{lecture}
\showagendaitem{manageconfiguration}{lecture}
\showagendaitem{rootfsconstruction}{lecture}
\showagendaitem{rootfscustomization}{lab}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{downloadbuildroot}{lecture}
\showagendaitem{gnumake}{lecture}
\showagendaitem{newpackage}{lecture}
\showagendaitem{newpackage}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{advancepackage}{lecture}
\showagendaitem{advancepackage}{lab}
\showonlineagendaday{5}
\showagendaday{5}
\showagendaitem{analyzebuild}{lecture}
\showagendaitem{advanced}{lecture}
\showagendaitem{advanced}{lab}
\showonlineagendaday{6}
\showagendaday{6}
\showagendaitem{appdevelopment}{lecture}
\showagendaitem{appdevelopment}{lab}
\showagendaitem{internals}{lecture}
Expand Down
22 changes: 22 additions & 0 deletions agenda/common.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@
}
}

% Start an agenda by finding
% out if it is a morning or an
% afternoon if the training
% takes place on site
%
% Arguments:
% 1: Number of the half-day
\newcommand\showagendaday[1]{
\ifthenelse{\equal{\trainingtype}{online}}{
\showonlineagendaday{#1}
}{
\pgfmathparse{int(mod(#1, 2))}
\ifnum\pgfmathresult=1
\pgfmathparse{int((#1 + 1) / 2)}
\showonsiteagendaday{\pgfmathresult}{morning}
\else
\pgfmathparse{int(#1 / 2)}
\showonsiteagendaday{\pgfmathresult}{afternoon}
\fi
}
}

% Start an online agenda half-day
%
% Arguments:
Expand Down
20 changes: 10 additions & 10 deletions agenda/debugging.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -488,48 +488,48 @@
}

\def \onsiteagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{appstack}{lecture}
\showagendaitem{commontools}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{checksystem}{lab}
\showagendaitem{debugapp}{lecture}
\showagendaitem{solvecrash}{lab}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{tracing}{lecture}
\showagendaitem{debugappissue}{lab}
\showagendaitem{memory}{lecture}
\showagendaitem{memory}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{appprofile}{lecture}
\showagendaitem{appprofile}{lab}
\showonlineagendaday{5}
\showagendaday{5}
\showagendaitem{profiling}{lecture}
\showagendaitem{profiling}{lab}
\showagendaitem{ebpf}{lab}
\showonlineagendaday{6}
\showagendaday{6}
\showagendaitem{kernel}{lecture}
\showagendaitem{kernel}{lab}
}

\def \onlineagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{appstack}{lecture}
\showagendaitem{commontools}{lecture}
\showagendaitem{checksystem}{lab}
\showagendaitem{debugapp}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{solvecrash}{lab}
\showagendaitem{tracing}{lecture}
\showagendaitem{debugappissue}{lab}
\showagendaitem{memory}{lecture}
\showagendaitem{memory}{lab}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{appprofile}{lecture}
\showagendaitem{appprofile}{lab}
\showagendaitem{profiling}{lecture}
\showagendaitem{profiling}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{ebpf}{lab}
\showagendaitem{kernel}{lecture}
\showagendaitem{kernel}{lab}
Expand Down
34 changes: 17 additions & 17 deletions agenda/embedded-linux.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -889,77 +889,77 @@
}

\def \onlineagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{intro}{lecture}
\showagendaitem{crosscompile}{lecture}
\showagendaitem{crosscompile}{lab}
\showagendaitem{bootprocess}{lecture}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{uboot}{lab}
\showagendaitem{kernel}{lecture}
\showagendaitem{fetchkernel}{lab}
\showagendaitem{configurekernel}{lecture}
\showagendaitem{compilekernel}{lab}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{rootfs}{lecture}
\showagendaitem{busybox}{lecture}
\showagendaitem{busybox}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{accessinghardware}{lecture}
\showagendaitem{accessinghardware}{lab}
\showagendaitem{blockfs}{lecture}
\showagendaitem{blockfs}{lab}
\showonlineagendaday{5}
\showagendaday{5}
\showagendaitem{flashfs}{lecture}
\showagendaitem{crosscompileapp}{lecture}
\showagendaitem{crosscompileapp}{lab}
\showonlineagendaday{6}
\showagendaday{6}
\showagendaitem{buildsystem}{lecture}
\showagendaitem{buildroot}{lab}
\showagendaitem{license}{lecture}
\showagendaitem{opensourcelinuxsoftwarestacks}{lecture}
\showonlineagendaday{7}
\showagendaday{7}
\showagendaitem{integration}{lab}
\showagendaitem{debugging}{lecture}
\showagendaitem{debugging}{lab}
\showagendaitem{resources}{lecture}
}

\def \onsiteagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{intro}{lecture}
\showagendaitem{crosscompile}{lecture}
\showagendaitem{crosscompile}{lab}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{bootprocess}{lecture}
\showagendaitem{uboot}{lab}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{kernel}{lecture}
\showagendaitem{fetchkernel}{lab}
\showagendaitem{configurekernel}{lecture}
\showagendaitem{compilekernel}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{rootfs}{lecture}
\showagendaitem{busybox}{lecture}
\showagendaitem{busybox}{lab}
\showonlineagendaday{5}
\showagendaday{5}
\showagendaitem{accessinghardware}{lecture}
\showagendaitem{accessinghardware}{lab}
\showonlineagendaday{6}
\showagendaday{6}
\showagendaitem{blockfs}{lecture}
\showagendaitem{blockfs}{lab}
\showagendaitem{flashfs}{lecture}
\showonlineagendaday{7}
\showagendaday{7}
\showagendaitem{crosscompileapp}{lecture}
\showagendaitem{crosscompileapp}{lab}
\showonlineagendaday{8}
\showagendaday{8}
\showagendaitem{buildsystem}{lecture}
\showagendaitem{buildroot}{lab}
\showagendaitem{license}{lecture}
\showonlineagendaday{9}
\showagendaday{9}
\showagendaitem{opensourcelinuxsoftwarestacks}{lecture}
\showagendaitem{integration}{lab}
\showonlineagendaday{10}
\showagendaday{10}
\showagendaitem{debugging}{lecture}
\showagendaitem{debugging}{lab}
\showagendaitem{resources}{lecture}
Expand Down
16 changes: 8 additions & 8 deletions agenda/graphics.inc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -598,22 +598,22 @@
}

\def \onlineagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{imageandcolor}{lecture}
\showagendaitem{pixeldrawing}{lecture}
\showagendaitem{pixeloperation}{lecture}
\showagendaitem{drawing}{lab}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{pipeline}{lecture}
\showagendaitem{displayhardware}{lecture}
\showagendaitem{renderinghardware}{lecture}
\showagendaitem{systemintegration}{lecture}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{displaystack}{lecture}
\showagendaitem{tty}{lecture}
\showagendaitem{drm}{lecture}
\showagendaitem{kernel}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{xwindow}{lecture}
\showagendaitem{wayland}{lecture}
\showagendaitem{mesa}{lecture}
Expand All @@ -622,22 +622,22 @@
}

\def \onsiteagenda {
\showonlineagendaday{1}
\showagendaday{1}
\showagendaitem{imageandcolor}{lecture}
\showagendaitem{pixeldrawing}{lecture}
\showagendaitem{pixeloperation}{lecture}
\showagendaitem{drawing}{lab}
\showonlineagendaday{2}
\showagendaday{2}
\showagendaitem{pipeline}{lecture}
\showagendaitem{displayhardware}{lecture}
\showagendaitem{renderinghardware}{lecture}
\showagendaitem{systemintegration}{lecture}
\showonlineagendaday{3}
\showagendaday{3}
\showagendaitem{displaystack}{lecture}
\showagendaitem{tty}{lecture}
\showagendaitem{drm}{lecture}
\showagendaitem{kernel}{lab}
\showonlineagendaday{4}
\showagendaday{4}
\showagendaitem{xwindow}{lecture}
\showagendaitem{wayland}{lecture}
\showagendaitem{mesa}{lecture}
Expand Down
Loading

0 comments on commit c1c51ee

Please sign in to comment.