initial commit

This commit is contained in:
2025-09-23 14:52:20 +02:00
commit 5407732395
14 changed files with 326 additions and 0 deletions

8
template/utils.typ Normal file
View File

@@ -0,0 +1,8 @@
#let assert_in_dict(needle, dict, item_name) = {
if str(needle) not in dict {
panic(
"unknown " + item_name + " '" + str(needle) +
"', expected one of: " + dict.keys().map((k) => { "'" + str(k) + "'" }).join(", ")
);
}
}