diff --git a/epi.typ b/epi.typ index 6eddb40..019ce45 100644 --- a/epi.typ +++ b/epi.typ @@ -10,7 +10,7 @@ libepi.card(name: "Défonceuse", protection_items: (libepi.Hearing, libepi.Shield), forbidden_items: (), - referent: "cst1", + referent: ("cst1",), instructions: "truc truc truc", min_help: 1 ), @@ -31,7 +31,25 @@ forbidden_items: (libepi.NoGloves,), instructions: [], warning: [Ne surtout pas mettre de gants, ils risqueraient d'être emportés - avec les mains dans la mèche.] + avec les mains dans la mêche.] + ), + + libepi.card(name: "CNC", + protection_items: (libepi.Hearing, libepi.Glasses,), + forbidden_items: (), + referent: ("Sel", "Rémy"), + instructions: [], + warning: [] + ), + + libepi.card(name: "Imprimante 3D", + protection_items: (), + forbidden_items: (), + referent: ("Sel", "Rémy"), + instructions: [ + - Allumer la hotte de l'imprimante + ], + //warning: [] ), ) diff --git a/lib/libepi.typ b/lib/libepi.typ index 5025b8d..6c0080f 100644 --- a/lib/libepi.typ +++ b/lib/libepi.typ @@ -36,25 +36,26 @@ instructions: none, note: none, warning: none, min_help: 0) = { #let generate_single_card(version, card) = { set page(header: [Fiche EPI HackENS v#version]) + set page(footer: [HackENS, CC-BY-SA-NC 2.0]) [ #set align(center) #text(size: 40pt, weight: "bold")[#card.name] ] [ #if card.referent != none [ - #text(size: 20pt)[Référent·es: #card.referent] + #text(size: 20pt)[#text(weight: "bold")[Référent·es:] #card.referent.join(", ")] ] else [ - #text(size: 20pt)[Référent·es: #text(style: "italic")[Demander à un·e respo]] + #text(size: 20pt)[#text(weight: "bold")[Référent·es:] #text(style: "italic")[Demander à un·e respo]] ] ] linebreak() [ #let plural = if card.min_help > 0 [s] else [] #if card.min_help > 0 [ - #text(size: 20pt)[Utilisation: au moins + #text(size: 20pt)[#text(weight: "bold")[Utilisation:] au moins #text(weight: "bold")[#str(card.min_help + 1)] personne#plural] ] else [ - #text(size: 20pt)[Utilisation: peut s'utiliser seul·e] + #text(size: 20pt)[#text(weight: "bold")[Utilisation:] peut s'utiliser seul·e] ] ] linebreak()