Add leipzig-glossing- prefix
This commit is contained in:
parent
af92697063
commit
30ede7255a
@ -18,6 +18,7 @@
|
||||
for item_index in range(0, len) {
|
||||
let args = ()
|
||||
for (line_idx, formatter) in formatters.enumerate() {
|
||||
let label_string = "leipzig-glossing-" + formatter.label
|
||||
let formatter_fn = if formatter.fn == none {
|
||||
(x) => x
|
||||
} else {
|
||||
@ -25,7 +26,7 @@
|
||||
}
|
||||
|
||||
let item = gloss_line_lists.at(line_idx).at(item_index)
|
||||
args.push([#formatter_fn(item) #label(formatter.label)])
|
||||
args.push([#formatter_fn(item) #label(label_string)])
|
||||
}
|
||||
make_item_box(..args)
|
||||
h(spacing_between_items)
|
||||
|
@ -1,8 +1,8 @@
|
||||
#import "leipzig-gloss.typ": gloss, numbered_gloss, gloss_count
|
||||
#import "linguistic-abbreviations.typ": *
|
||||
|
||||
#show label("header_text"): set text(blue)
|
||||
#show label("source_text"): set text(weight: "bold")
|
||||
#show label("leipzig-glossing-header_text"): set text(blue)
|
||||
#show label("leipzig-glossing-source_text"): set text(weight: "bold")
|
||||
|
||||
= Saimiar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user