#import "/metadata.typ": * #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" ), ( key: "co2", short: $C O_2$, long: "Carbon dioxide", ), ( key: "ofsp", short: "OFSP", long: "Federal Office of Public Health" ), ( key: "ppm", short: "ppm", long: "Parts per Milion" ), ( key: "mqtt", short: "MQTT", long: "Message Queue Telemetry Transport", description: "A lightweight, publish–subscribe, machine-to-machine network protocol for message queue/message queuing service." ), ( key: "rest", short: "REST", long: "Representational State Transfert" ), ( key: "api", short: "API", long: "Application Programming Interface" ), ( key: "csv", short: "CSV", long: "Comma-Separated Values" ), ( key: "sso", short: "SSO", long: "Single Sign On" ), ( key: "tls", short: "TLS", long: "Transport Layer Security" ), ( key: "ble", short: "BLE", long: "Bluetooth Low Energy" ), ( key: "llm", short: "LLM", long: "Large Language Model", description: "Tools commonly referenced as \"AI\" with the likes of Copilot, claude, chatGPT, ..." ), ( key: "pi", short: "PI", long: "Project Inter-disciplinaire" ), ( key: "os", short: "OS", long: "Operating System" ), ( key: "iot", short: "IoT", long: "Internet of Things" ), ( key: "utc", short: "UTC", long: "Coordinated Universal Time" ), ( key: "ssh", short: "SSH", long: "Secure SHell" ), ( key: "uuid", short: "UUID", long: "Univerally unique identifier" ), ( key: "mvp", short: "MVP", long: "Minimal Viable Product" ), ( key: "http", short: "HTTP", long: "Hypertext Transfer Protocol" ), ( key: "svg", short: "SVG", long: "Scalable Vector Graphics" ) ) #let make_glossary( gloss:true, title: i18n("gloss-title", lang: option.lang), ) = {[ #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, deduplicate-back-references: true ) ]} 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, ) ]} ]}