started work on the glossary

This commit is contained in:
vky 2026-08-14 13:16:42 +02:00
parent e6db6dc49b
commit 03ba06d5fb
14 changed files with 232 additions and 0 deletions

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M128 320L156.5 92C158.5 76 172.1 64 188.3 64L356.9 64C371.9 64 384 76.1 384 91.1C384 94.3 383.4 97.6 382.3 100.6L336 224L475.3 224C495.5 224 512 240.4 512 260.7C512 268.1 509.8 275.3 505.6 281.4L313.4 562.4C307.5 571 297.8 576.1 287.5 576.1L284.6 576.1C268.9 576.1 256.1 563.3 256.1 547.6C256.1 545.3 256.4 543 257 540.7L304 352L160 352C142.3 352 128 337.7 128 320z"/></svg>

After

Width:  |  Height:  |  Size: 596 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M320 576C214 576 128 490 128 384C128 292.8 258.2 109.9 294.6 60.5C300.5 52.5 309.8 48 319.8 48L320.2 48C330.2 48 339.5 52.5 345.4 60.5C381.8 109.9 512 292.8 512 384C512 490 426 576 320 576zM240 376C240 362.7 229.3 352 216 352C202.7 352 192 362.7 192 376C192 451.1 252.9 512 328 512C341.3 512 352 501.3 352 488C352 474.7 341.3 464 328 464C279.4 464 240 424.6 240 376z"/></svg>

After

Width:  |  Height:  |  Size: 597 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M281.6 93.9L297.6 72.6C301.6 67.2 308 64 314.7 64C326.4 64 336 73.6 336 85.3L336 107.4C336 120.5 341.4 133.1 350.9 142.1L435.6 223C484.4 269.6 512 334.2 512 401.7C512 498 434 576 337.7 576L320 576C214 576 128 490 128 384L128 380.2C128 331.4 147.4 284.6 181.9 250.1L185.4 246.6C189.6 242.4 195.4 240 201.4 240C213.9 240 224 250.1 224 262.6L224 352C224 387.3 252.7 416 288 416C323.3 416 352 387.3 352 352L352 348.1C352 330.1 344.8 312.8 332.1 300.1L293.5 261.5C269.5 237.5 256 204.8 256 170.8C256 143.1 265 116 281.6 93.9z"/></svg>

After

Width:  |  Height:  |  Size: 751 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M201.6 217.4L182.9 198.7C170.4 186.2 170.4 165.9 182.9 153.4L297.6 38.6C310.1 26.1 330.4 26.1 342.9 38.6L361.6 57.4C374.1 69.9 374.1 90.2 361.6 102.7L246.9 217.4C234.4 229.9 214.1 229.9 201.6 217.4zM308 275.7L276.6 244.3L388.6 132.3L508 251.7L396 363.7L364.6 332.3L132.6 564.3C117 579.9 91.7 579.9 76 564.3C60.3 548.7 60.4 523.4 76 507.7L308 275.7zM422.9 438.6C410.4 426.1 410.4 405.8 422.9 393.3L537.6 278.6C550.1 266.1 570.4 266.1 582.9 278.6L601.6 297.3C614.1 309.8 614.1 330.1 601.6 342.6L486.9 457.4C474.4 469.9 454.1 469.9 441.6 457.4L422.9 438.7z"/></svg>

After

Width:  |  Height:  |  Size: 784 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M139.8 368.8L65 99.7C64.3 97.2 64 94.7 64 92.2C64 76.6 76.6 64 92.2 64L546.4 64C562.7 64 576 77.2 576 93.6C576 95.2 575.9 96.9 575.6 98.5L498.6 560.1C497.1 569.3 489.1 576 479.8 576C470.6 576 462.7 569.4 461.1 560.4L400 224L371.2 367.9C369.3 377.2 361.1 384 351.6 384C342.4 384 334.4 377.8 332.2 368.9L304 256L274.6 432.2C273.1 441.3 265.2 448 256 448C246.8 448 238.9 441.3 237.4 432.2L208 256L179.9 368.3C177.6 377.5 169.3 384 159.8 384C150.5 384 142.3 377.8 139.8 368.8z"/></svg>

After

Width:  |  Height:  |  Size: 703 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M535.3 70.7C541.7 64.6 551 62.4 559.6 65.2C569.4 68.5 576 77.7 576 88L576 274.9C576 406.1 467.9 512 337.2 512C260.2 512 193.8 462.5 169.7 393.3C134.3 424.1 112 469.4 112 520C112 533.3 101.3 544 88 544C74.7 544 64 533.3 64 520C64 445.1 102.2 379.1 160.1 340.3C195.4 316.7 237.5 304 280 304L360 304C373.3 304 384 293.3 384 280C384 266.7 373.3 256 360 256L280 256C240.3 256 202.7 264.8 169 280.5C192.3 210.5 258.2 160 336 160C402.4 160 451.8 137.9 484.7 116C503.9 103.2 520.2 87.9 535.4 70.7z"/></svg>

After

Width:  |  Height:  |  Size: 720 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576C388.8 576 451.3 548.8 497.3 504.6C504.6 497.6 506.7 486.7 502.6 477.5C498.5 468.3 488.9 462.6 478.8 463.4C473.9 463.8 469 464 464 464C362.4 464 280 381.6 280 280C280 207.9 321.5 145.4 382.1 115.2C391.2 110.7 396.4 100.9 395.2 90.8C394 80.7 386.6 72.5 376.7 70.3C358.4 66.2 339.4 64 320 64z"/></svg>

After

Width:  |  Height:  |  Size: 580 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M320.5 64C335.2 64 348.7 72.1 355.7 85L571.7 485C578.4 497.4 578.1 512.4 570.9 524.5C563.7 536.6 550.6 544 536.6 544L104.6 544C90.5 544 77.5 536.6 70.3 524.5C63.1 512.4 62.8 497.4 69.5 485L285.5 85L288.4 80.4C295.7 70.2 307.6 64 320.5 64zM234.4 313.9L261.2 340.7C267.4 346.9 277.6 346.9 283.8 340.7L327.1 297.4C333.1 291.4 341.2 288 349.7 288L392.5 288L320.4 154.5L234.3 313.9z"/></svg>

After

Width:  |  Height:  |  Size: 608 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M320 32C328.4 32 336.3 36.4 340.6 43.7L396.1 136.3L500.9 110C509.1 108 517.8 110.4 523.7 116.3C529.6 122.2 532 131 530 139.1L503.7 243.8L596.4 299.3C603.6 303.6 608.1 311.5 608.1 319.9C608.1 328.3 603.7 336.2 596.4 340.5L503.7 396.1L530 500.8C532 509 529.6 517.7 523.7 523.6C517.8 529.5 509 532 500.9 530L396.2 503.7L340.7 596.4C336.4 603.6 328.5 608.1 320.1 608.1C311.7 608.1 303.8 603.7 299.5 596.4L243.9 503.7L139.2 530C131 532 122.4 529.6 116.4 523.7C110.4 517.8 108 509 110 500.8L136.2 396.1L43.6 340.6C36.4 336.2 32 328.4 32 320C32 311.6 36.4 303.7 43.7 299.4L136.3 243.9L110 139.1C108 130.9 110.3 122.3 116.3 116.3C122.3 110.3 131 108 139.2 110L243.9 136.2L299.4 43.6L301.2 41C305.7 35.3 312.6 31.9 320 31.9zM320 176C240.5 176 176 240.5 176 320C176 399.5 240.5 464 320 464C399.5 464 464 399.5 464 320C464 240.5 399.5 176 320 176zM320 416C267 416 224 373 224 320C224 267 267 224 320 224C373 224 416 267 416 320C416 373 373 416 320 416z"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M474.6 188.1C495.3 203.7 520.6 218.8 548.8 222.6C561.9 224.4 574 215.1 575.8 202C577.6 188.9 568.3 176.8 555.2 175C539.3 172.9 522 163.7 503.5 149.8C465.1 120.8 413 120.8 374.5 149.8C350.5 167.9 333.8 176.1 320 176.1C306.2 176.1 289.5 167.9 265.5 149.8C227.1 120.8 175 120.8 136.5 149.8C118 163.7 100.7 172.9 84.8 175C71.7 176.8 62.4 188.8 64.2 202C66 215.2 78 224.4 91.2 222.6C119.4 218.8 144.8 203.7 165.4 188.1C186.7 172 215.3 172 236.6 188.1C260.8 206.4 288.9 224 320 224C351.1 224 379.1 206.3 403.4 188.1C424.7 172 453.3 172 474.6 188.1zM474.6 332.1C495.3 347.7 520.6 362.8 548.8 366.6C561.9 368.4 574 359.1 575.8 346C577.6 332.9 568.3 320.8 555.2 319C539.3 316.9 522 307.7 503.5 293.8C465.1 264.8 413 264.8 374.5 293.8C350.5 311.9 333.8 320.1 320 320.1C306.2 320.1 289.5 311.9 265.5 293.8C227.1 264.8 175 264.8 136.5 293.8C118 307.7 100.7 316.9 84.8 319C71.7 320.7 62.4 332.8 64.2 346C66 359.2 78 368.4 91.2 366.6C119.4 362.8 144.8 347.7 165.4 332.1C186.7 316 215.3 316 236.6 332.1C260.8 350.4 288.9 368 320 368C351.1 368 379.1 350.3 403.4 332.1C424.7 316 453.3 316 474.6 332.1zM403.4 476.1C424.7 460 453.3 460 474.6 476.1C495.3 491.7 520.6 506.8 548.8 510.6C561.9 512.4 574 503.1 575.8 490C577.6 476.9 568.3 464.8 555.2 463C539.3 460.9 522 451.7 503.5 437.8C465.1 408.8 413 408.8 374.5 437.8C350.5 455.9 333.8 464.1 320 464.1C306.2 464.1 289.5 455.9 265.5 437.8C227.1 408.8 175 408.8 136.5 437.8C118 451.7 100.7 460.9 84.8 463C71.7 464.8 62.4 476.8 64.2 490C66 503.2 78 512.4 91.2 510.6C119.4 506.8 144.8 491.7 165.4 476.1C186.7 460 215.3 460 236.6 476.1C260.8 494.4 288.9 512 320 512C351.1 512 379.1 494.3 403.4 476.1z"/></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M352 96C352 113.7 366.3 128 384 128L424 128C437.3 128 448 138.7 448 152C448 165.3 437.3 176 424 176L96 176C78.3 176 64 190.3 64 208C64 225.7 78.3 240 96 240L424 240C472.6 240 512 200.6 512 152C512 103.4 472.6 64 424 64L384 64C366.3 64 352 78.3 352 96zM416 448C416 465.7 430.3 480 448 480L480 480C533 480 576 437 576 384C576 331 533 288 480 288L96 288C78.3 288 64 302.3 64 320C64 337.7 78.3 352 96 352L480 352C497.7 352 512 366.3 512 384C512 401.7 497.7 416 480 416L448 416C430.3 416 416 430.3 416 448zM192 576L232 576C280.6 576 320 536.6 320 488C320 439.4 280.6 400 232 400L96 400C78.3 400 64 414.3 64 432C64 449.7 78.3 464 96 464L232 464C245.3 464 256 474.7 256 488C256 501.3 245.3 512 232 512L192 512C174.3 512 160 526.3 160 544C160 561.7 174.3 576 192 576z"/></svg>

After

Width:  |  Height:  |  Size: 990 B

16
main.typ Normal file
View File

@ -0,0 +1,16 @@
// ----- IMPORTS -----
#import "@preview/glossarium:0.5.10": gls, glspl, make-glossary, print-glossary, register-glossary
#import "setup/glossary.typ": glossary
// ----- SHOW RULES -----
// make-glossary should be left as the last show rule
#show: make-glossary
#register-glossary(glossary)
// prints the glossary, probably belongs at the end
#print-glossary(
glossary,
entry-sortkey: x => x.long,
shorthands: ("plural", "capitalize", "capitalize-plural", "short", "long"),
show-all: true,
)

1
setup/glossary.md Normal file
View File

@ -0,0 +1 @@

204
setup/glossary.typ Normal file
View File

@ -0,0 +1,204 @@
#let glossary = (
// ----- PHYSICAL -----
(
key: "elsl",
short: box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("../images/icons/slash.png"),
),
long: "tranchant",
description: "Type de dégât physique décrivant les attaques portées avec des objets acérés visant à couper leur cible.",
plural: "tranchants",
group: "elements",
),
(
key: "elpi",
short: box(
height: 0.7em,
baseline: 0.7pt,
inset: 0pt,
image("../images/icons/pierce.png"),
),
long: "perçant",
description: "Type de dégât physique décrivant les attaques portées avec des objets pointus cherchant à pénétrer les défences de leur cible.",
plural: "contondants",
group: "elements",
),
(
key: "elbl",
short: box(
height: 0.7em,
baseline: 0.5pt,
inset: 0pt,
image("../images/icons/gavel-solid-full.svg"),
),
long: "contondant",
description: "Type de dégât physique décrivant les attaques portées avec des objets obtus misant sur la force de l'impact.",
plural: "contondants",
group: "elements",
),
// ----- ELEMENTAL -----
(
key: "elce",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/sun-solid-full.svg"),
),
long: "céleste",
description: "Type de dégât élémentaire majeur.",
plural: "célestes",
group: "elements",
),
(
key: "elab",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/moon-solid-full.svg"),
),
long: "abyssal",
description: "Type de dégât élémentaire majeur.",
plural: "abyssaux",
group: "elements",
),
(
key: "elfi",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/fire-flame-curved-solid-full.svg"),
),
long: "feu",
description: "Type de dégât élémentaire mineur.",
plural: "feux",
group: "elements",
),
(
key: "elea",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/mountain-solid-full.svg"),
),
long: "terre",
description: "Type de dégât élémentaire mineur.",
plural: "terres",
group: "elements",
),
(
key: "elwo",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/leaf-solid-full.svg"),
),
long: "bois",
description: "Type de dégât élémentaire mineur.",
plural: "bois",
group: "elements",
),
(
key: "elma",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/water-solid-full.svg"),
),
long: "magma",
description: "Type de dégât élémentaire mineur.",
plural: "magmas",
group: "elements",
),
(
key: "elwa",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/droplet-solid-full.svg"),
),
long: "eau",
description: "Type de dégât élémentaire mineur.",
plural: "eaux",
group: "elements",
),
(
key: "elwi",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/wind-solid-full.svg"),
),
long: "vent",
description: "Type de dégât élémentaire mineur.",
plural: "vents",
group: "elements",
),
(
key: "elic",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/icicles-solid-full.svg"),
),
long: "glace",
description: "Type de dégât élémentaire mineur.",
plural: "glaces",
group: "elements",
),
(
key: "elli",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/bolt-lightning-solid-full.svg"),
),
long: "foudre",
description: "Type de dégât élémentaire mineur.",
plural: "foudres",
group: "elements",
),
// ----- DAMAGE TYPES -----
(
key: "trans",
short: box(
height: 0.75em,
baseline: 1.1pt,
inset: 0pt,
image("../images/icons/transcendental.png"),
),
long: "transcendental",
description: "Ayabobo",
plural: "transcendentaux",
group: "type",
),
(
key: "pure",
short: box(baseline: 0.05em, inset: 0pt, text(size: 1.45em, sym.triangle.stroked.t)),
long: "pur",
description: "Ayabobo",
plural: "purs",
group: "type",
),
(
key: "ntrl",
short: box(baseline: 0.05em, inset: 0pt, text(size: 1.45em, sym.circle.stroked)),
long: "neutre",
description: "Ayabobo",
plural: "neutres",
group: "type",
),
// Add more terms
)