initial commit
This commit is contained in:
11
template/lang.typ
Normal file
11
template/lang.typ
Normal file
@@ -0,0 +1,11 @@
|
||||
#import "utils.typ": assert_in_dict
|
||||
|
||||
#let lang_ids = (
|
||||
cs: 0,
|
||||
en: 1,
|
||||
);
|
||||
|
||||
#let lang_id(lang_abbr) = {
|
||||
assert_in_dict(lang_abbr, lang_ids, "language abbreviation");
|
||||
return lang_ids.at(lang_abbr);
|
||||
};
|
Reference in New Issue
Block a user