diff --git a/linguistic-abbreviations.typ b/abbreviations.typ similarity index 100% rename from linguistic-abbreviations.typ rename to abbreviations.typ diff --git a/leipzig-gloss-examples.typ b/leipzig-gloss-examples.typ index 5d0077a..69c0083 100644 --- a/leipzig-gloss-examples.typ +++ b/leipzig-gloss-examples.typ @@ -1,5 +1,4 @@ -#import "leipzig-gloss.typ": gloss, numbered-gloss, gloss-count -#import "linguistic-abbreviations.typ": * +#import "leipzig-gloss.typ": abbreviations, gloss, numbered-gloss, gloss-count #show link: x => underline[*#x*] //#show raw: x => text(fill: rgb("#43464b"))[#x] @@ -11,7 +10,12 @@ block(fill: luma(230), inset: 8pt, radius: 4pt, breakable: false, raw(contents, lang: "typst")) } -#let fmnt = emit-abbreviation("FMNT") +// Abbreviations used in this document + +#import abbreviations: poss, prog, sg, pl, sbj, obj, fut, neg, obl, gen, com, ins, all, pst, inf +#import abbreviations: art, dat, du, A, P + +#let fmnt = abbreviations.emit-abbreviation("FMNT") = Introduction diff --git a/leipzig-gloss.typ b/leipzig-gloss.typ index 09e450e..6471f1a 100644 --- a/leipzig-gloss.typ +++ b/leipzig-gloss.typ @@ -1,3 +1,5 @@ +#import "abbreviations.typ" + #let gloss-count = counter("gloss_count") #let build_gloss(spacing_between_items, formatters, gloss_line_lists) = {