From e65575104328e5c473ed1ffa660606600256e452 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 6 Jul 2023 01:48:25 -0700 Subject: [PATCH] Use label syntax in show, fix error --- leipzig-gloss.typ | 4 ++-- new-example.typ | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/leipzig-gloss.typ b/leipzig-gloss.typ index c9d7d10..25bd3cb 100644 --- a/leipzig-gloss.typ +++ b/leipzig-gloss.typ @@ -66,9 +66,9 @@ if header_text != 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 { - [#header_text #label("header_text")] + [#header_text #label("leipzig-glossing-header_text")] } linebreak() } diff --git a/new-example.typ b/new-example.typ index 43b65d9..3ee67c7 100644 --- a/new-example.typ +++ b/new-example.typ @@ -1,7 +1,7 @@ #import "leipzig-gloss.typ": gloss, numbered_gloss, gloss_count #import "linguistic-abbreviations.typ": * -#show label("leipzig-glossing-header_text"): set text(blue) +#show : set text(blue) #show label("leipzig-glossing-source_text"): set text(weight: "bold") = Saimiar