Use label syntax in show, fix error

This commit is contained in:
Greg Shuflin 2023-07-06 01:48:25 -07:00
parent 30ede7255a
commit e655751043
2 changed files with 3 additions and 3 deletions

View File

@ -66,9 +66,9 @@
if header_text != none { if header_text != none {
if header_text_style != none { if header_text_style != none {
[#header_text_style(header_text) #label("header_text")] [#header_text_style(header_text) #label("leipzig-glossing-header_text")]
} else { } else {
[#header_text #label("header_text")] [#header_text #label("leipzig-glossing-header_text")]
} }
linebreak() linebreak()
} }

View File

@ -1,7 +1,7 @@
#import "leipzig-gloss.typ": gloss, numbered_gloss, gloss_count #import "leipzig-gloss.typ": gloss, numbered_gloss, gloss_count
#import "linguistic-abbreviations.typ": * #import "linguistic-abbreviations.typ": *
#show label("leipzig-glossing-header_text"): set text(blue) #show <leipzig-glossing-header_text>: set text(blue)
#show label("leipzig-glossing-source_text"): set text(weight: "bold") #show label("leipzig-glossing-source_text"): set text(weight: "bold")
= Saimiar = Saimiar