From ddfec22fe84733e63c2b50eb70761075a92ebc29 Mon Sep 17 00:00:00 2001 From: servostar Date: Wed, 20 Nov 2024 10:04:17 +0100 Subject: [PATCH] fix(style): add context around `counter.display` src/style.typ:187:23 due to "`counter.display` without context is deprecated" --- src/style.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style.typ b/src/style.typ index 6ddd72b..511adf0 100644 --- a/src/style.typ +++ b/src/style.typ @@ -184,7 +184,7 @@ show figure.caption: c => [ #if c.body.fields().len() > 0 { text(weight: "medium")[ - #c.supplement #c.counter.display("1.1.1") + #c.supplement #context c.counter.display("1.1.1") ] c.separator }