Reorganize abbreviations

This commit is contained in:
Greg Shuflin 2023-09-19 01:22:15 -07:00
parent 33862861a8
commit c313590827
3 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
#import "abbreviations.typ"
#let gloss-count = counter("gloss_count")
#let build_gloss(spacing_between_items, formatters, gloss_line_lists) = {