2023-07-05 21:12:52 -07:00
|
|
|
#import "linguistic-abbreviations.typ": *
|
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
#let custom_abbreviations = (
|
|
|
|
"FMNT": "Present/Future stem formant",
|
|
|
|
)
|
2023-07-05 21:12:52 -07:00
|
|
|
|
2023-07-10 03:20:42 -07:00
|
|
|
#let fmnt = emit_abbreviation("FMNT")
|
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
// An example function that uses `with_used_abbreviations`
|
|
|
|
#let print_usage_chart = with_used_abbreviations.with(debug: false)(final_used_abbreviations => {
|
|
|
|
|
2023-07-11 01:33:29 -07:00
|
|
|
show terms: t => {
|
|
|
|
for t in t.children [
|
|
|
|
#t.term #h(2cm) #t.description\
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
let print_abbrevs(abbrv_list) = {
|
|
|
|
for abbrv in abbrv_list {
|
|
|
|
let explanation = if abbrv in standard_abbreviations {
|
|
|
|
standard_abbreviations.at(abbrv)
|
|
|
|
} else {
|
|
|
|
custom_abbreviations.at(abbrv)
|
|
|
|
}
|
2023-07-05 21:12:52 -07:00
|
|
|
|
2023-07-11 01:33:29 -07:00
|
|
|
terms((smallcaps(lower(abbrv)), explanation))
|
2023-07-11 01:17:41 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
heading(level: 3)[Abbreviations in order of use]
|
|
|
|
print_abbrevs(final_used_abbreviations.keys())
|
2023-07-05 21:12:52 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
heading(level: 3)[Abbreviations in alphabetical order]
|
|
|
|
let sorted_abbreviations = final_used_abbreviations.keys().sorted()
|
|
|
|
print_abbrevs(sorted_abbreviations)
|
|
|
|
})
|
2023-07-05 21:12:52 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
= Some linguistics paper
|
2023-07-05 21:12:52 -07:00
|
|
|
|
2023-07-10 03:20:42 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
== Abbreviations used in this document
|
|
|
|
#print_usage_chart
|
2023-07-05 21:12:52 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
== The main body of the paper
|
2023-07-10 02:19:57 -07:00
|
|
|
|
2023-07-10 03:00:53 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
The #p1#sg pronoun in Spanish is _yo_. The #p2#sg pronoun in Spanish is _tu_.
|
2023-07-10 02:44:03 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
The six cases of Latin are:
|
|
|
|
- Nominative (#nom)
|
|
|
|
- Genitive (#gen)
|
|
|
|
- Dative (#dat)
|
|
|
|
- Accusative (#acc)
|
|
|
|
- Ablative (#abl)
|
|
|
|
- Vocative (#voc)
|
2023-07-10 02:44:03 -07:00
|
|
|
|
2023-07-11 01:17:41 -07:00
|
|
|
The Present/Future stem formant (#fmnt) in Georgian disappears in perfective screeves.
|
2023-07-10 03:20:42 -07:00
|
|
|
|