From c49e911aad9d8a6887e62f3cd010ef9c0e3e3079 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Mon, 12 Jan 2026 00:01:45 +0200 Subject: [PATCH] fix: use regex for is-cyr fix: remove unused properties from coursework --- lib.typ | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib.typ b/lib.typ index 802f24f..2ecccb9 100644 --- a/lib.typ +++ b/lib.typ @@ -40,7 +40,7 @@ "грудня", ).at(month - 1) -#let is-cyr(text) = text.split("").any(char => "А" <= char and char <= "я") +#let is-cyr(c) = regex("[\p{Cyrillic}]") in c #let gender-form(verb, gender: "p") = { ( @@ -303,8 +303,6 @@ doc, university: "ХНУРЕ", subject: none, - type: none, - number: none, title: none, authors: (), mentors: (),