diff --git a/doc/lab-01_02.typ b/doc/lab-01_02.typ new file mode 100644 index 0000000..edd5242 --- /dev/null +++ b/doc/lab-01_02.typ @@ -0,0 +1,71 @@ +// #import "@preview/hei-synd-report:0.1.1": * +#import "@preview/hei-synd-thesis:0.2.3": * +#import "/doc/metadata.typ": * +#import "/doc/resources/glossary.typ": * +#show:make-glossary +#register-glossary(entry-list) + +#import "@preview/fractusist:0.1.1":* + +//------------------------------------- +// Template config +// + +#{ + doc.title = "Environment & Kernel Programming" + doc.subtitle = [ + Lab 01: Embedded Linux Environment \ + & \ + Lab 02: Linux Kernel Programming + ] + doc.logos.tp_main = dragon-curve( + 10, + step-size: 10, + stroke-style: stroke( + paint: gradient.radial(..color.map.rocket), + thickness: 3pt, join: "round"), + height: 10cm, + ) + doc.version = "v0.1.0" +} + +#show: report.with( + option: option, + doc: doc, + date: date, + tableof: tableof, +) +#v(5em) +#infobox()[ + The repository for this labs can be found at the following address: + + #align(center)[https://github.com/Klagarge/MSE-MA-CSEL] +] +#pagebreak() + +//------------------------------------- +// Content +// + += Embedded Linux Environment + +#lorem(150) + +#lorem(50) + + +//-------------------------------------- +#pagebreak() += Linux Kernel Programming + +#lorem(150) + +#lorem(50) + + +//------------------------------------- +// Glossary +// +#heading(numbering:none, outlined: false)[] +#make_glossary(gloss:gloss, title:i18n("gloss-title")) + diff --git a/doc/lab-03_04.typ b/doc/lab-03_04.typ new file mode 100644 index 0000000..3b8d65d --- /dev/null +++ b/doc/lab-03_04.typ @@ -0,0 +1,71 @@ +// #import "@preview/hei-synd-report:0.1.1": * +#import "@preview/hei-synd-thesis:0.2.3": * +#import "/doc/metadata.typ": * +#import "/doc/resources/glossary.typ": * +#show:make-glossary +#register-glossary(entry-list) + +#import "@preview/fractusist:0.1.1":* + +//------------------------------------- +// Template config +// + +#{ + doc.title = "System Programming & Optimisation" + doc.subtitle = [ + Lab 03: Linux System Programming \ + & \ + Lab 04: Linux System Optimisation + ] + doc.logos.tp_main = dragon-curve( + 11, + step-size: 10, + stroke-style: stroke( + paint: gradient.radial(..color.map.rocket), + thickness: 3pt, join: "round"), + height: 10cm, +) + doc.version = "v0.1.0" +} + +#show: report.with( + option: option, + doc: doc, + date: date, + tableof: tableof, +) +#v(5em) +#infobox()[ + The repository for this labs can be found at the following address: + + #align(center)[https://github.com/Klagarge/MSE-MA-CSEL] +] +#pagebreak() + +//------------------------------------- +// Content +// + += Linux System Programming + +#lorem(150) + +#lorem(50) + + +//-------------------------------------- +#pagebreak() += Linux System Optimisation + +#lorem(150) + +#lorem(50) + + +//------------------------------------- +// Glossary +// +#heading(numbering:none, outlined: false)[] +#make_glossary(gloss:gloss, title:i18n("gloss-title")) + diff --git a/doc/metadata.typ b/doc/metadata.typ new file mode 100644 index 0000000..0eb63ce --- /dev/null +++ b/doc/metadata.typ @@ -0,0 +1,58 @@ +//------------------------------------- +// Document options +// +#let option = ( + type : "final", + lang : "en", +) + +//------------------------------------- +// Metadata of the document +// +#let doc= ( + abbr : "CSEL", + logos: ( + tp_topleft : image("/doc/resources/img/logo-mse.png", width: 9cm), + tp_topright : image("/doc/resources/img/hesso-logo.svg", width: 4.5cm), + header : image("/doc/resources/img/csel.png", width: 2.5cm), + ), + authors: ( + ( + name : "Yann Sierro", + abbr : "SIY", + email : "yann.sierro@master.hes-so.ch", + ), + ( + name : "Rémi Heredero", + abbr : "HER", + email : "remi.heredero@hevs.ch", + ), + ), + school: ( + name : "HES-SO Master", + major : "Computer Science", + orientation : "Embedded", + ), + course: ( + name : "CSEL", + prof : "Jacques Supcik", + semester : "Spring Semester 2026", + ), + keywords : ("HES-SO", "Computer Science", "Embedded Systems", "CSEL"), +) + +#let date = datetime.today() + +//------------------------------------- +// Settings +// +#let tableof = ( + toc: true, + tof: false, + tot: false, + tol: false, + toe: false, + maxdepth: 3, +) + +#let gloss = true \ No newline at end of file diff --git a/doc/mini-project.typ b/doc/mini-project.typ new file mode 100644 index 0000000..6433d3d --- /dev/null +++ b/doc/mini-project.typ @@ -0,0 +1,61 @@ +// #import "@preview/hei-synd-report:0.1.1": * +#import "@preview/hei-synd-thesis:0.2.3": * +#import "/doc/metadata.typ": * +#import "/doc/resources/glossary.typ": * +#show:make-glossary +#register-glossary(entry-list) + +#import "@preview/fractusist:0.1.1":* + +//------------------------------------- +// Template config +// + +#{ + doc.title = "Mini-Project" + doc.subtitle = [ + Mini-Project + ] + doc.logos.tp_main = dragon-curve( + 12, + step-size: 10, + stroke-style: stroke( + //paint: gradient.linear(..color.map.rocket, angle: 135deg), + paint: gradient.radial(..color.map.rocket), + thickness: 3pt, join: "round"), + height: 10cm, + ) + doc.version = "v0.1.0" +} + +#show: report.with( + option: option, + doc: doc, + date: date, + tableof: tableof, +) +#v(5em) +#infobox()[ + The repository for this labs can be found at the following address: + + #align(center)[https://github.com/Klagarge/MSE-MA-CSEL] +] +#pagebreak() + +//------------------------------------- +// Content +// + += Mini-Project + +#lorem(150) + +#lorem(50) + + +//------------------------------------- +// Glossary +// +#heading(numbering:none, outlined: false)[] +#make_glossary(gloss:gloss, title:i18n("gloss-title")) + diff --git a/doc/resources/glossary.typ b/doc/resources/glossary.typ new file mode 100644 index 0000000..f2f57bb --- /dev/null +++ b/doc/resources/glossary.typ @@ -0,0 +1,59 @@ +#import "@preview/hei-synd-report:0.1.1": * + +#let entry-list = ( + ( + key: "hei", + short: "HEI", + long: "Haute École d'Ingénierie", + group: "University" + ), + ( + key: "synd", + short: "SYND", + long: "Systems Engineering", + group: "University" + ), + ( + key: "it", + short: "IT", + long: "Infotronics", + group: "University" + ), + ( + key: "rust", + short: "Rust", + plural: "Rust programs", + long: "Rust Programming Language", + description: "Rust is a modern systems programming language focused on safety, speed, and concurrency. It prevents common programming errors such as null pointer dereferencing and data races at compile time, making it a preferred choice for performance-critical applications.", + group: "Programming Language" + ), +) + + +#let make_glossary( + gloss:true, + title: i18n("gloss-title"), +) = {[ + #if gloss == true {[ + #pagebreak() + #set heading(numbering: none) + = #title + #print-glossary( + entry-list, + // show all term even if they are not referenced, default to true + show-all: false, + // disable the back ref at the end of the descriptions + disable-back-references: false, + ) + ]} else{[ + #set text(size: 0pt) + #title + #print-glossary( + entry-list, + // show all term even if they are not referenced, default to true + show-all: false, + // disable the back ref at the end of the descriptions + disable-back-references: false, + ) + ]} +]} diff --git a/doc/resources/img/csel.png b/doc/resources/img/csel.png new file mode 100644 index 0000000..32a27ea Binary files /dev/null and b/doc/resources/img/csel.png differ diff --git a/doc/resources/img/hesso-logo.svg b/doc/resources/img/hesso-logo.svg new file mode 100644 index 0000000..c7fda57 --- /dev/null +++ b/doc/resources/img/hesso-logo.svg @@ -0,0 +1,390 @@ + +image/svg+xml \ No newline at end of file diff --git a/doc/resources/img/logo-mse.png b/doc/resources/img/logo-mse.png new file mode 100644 index 0000000..281f17a Binary files /dev/null and b/doc/resources/img/logo-mse.png differ