ravenous_typst/test.typ

50 lines
1.5 KiB
Plaintext

#import "@preview/glossy:0.9.2": *
#let myGlossary = (
html: (
short: "HTML",
long: "Hypertext Markup Language",
description: "A standard language for creating web pages",
group: "Web"
),
css: (
short: "CSS",
long: "Cascading Style Sheets",
description: "A stylesheet language used for describing the presentation of a document",
group: "Web"
),
tps: (
short: "TPS",
long: "test procedure specification",
description: "A formal document describing test steps and expected results",
// Optional: Override automatic pluralization
plural: "TPSes",
longplural: "test procedure specifications",
reference: (
key: "doe2025",
supplement: "p. 42" // Supplement is optional
)
),
el_slash: (
long: box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/slash.png"),
),
short: "tranchant",
description: "Type de dégât physique décrivant les attaques portées avec des objets acérés visant à couper leur cible.",
group: "Dégâts physiques",
),
WWW: "World Wide Web", // concise entry with only short: long
)
#show: init-glossary.with(myGlossary)
#glossary(
title: "Web Development Glossary", // Optional: defaults to Glossary theme:
sort: true, // Optional: whether or not to sort the glossary
ignore-case: false, // Optional: ignore case when sorting terms
groups: ("Web"), // Optional: Filter to specific groups
show-all: true, // Optional; Show all terms even if unreferenced
)