From 7bb0925662f1d54cd31889085560ec8ad530fa02 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Sat, 17 Jan 2026 16:25:44 +0200 Subject: [PATCH] i think we need edu_program for authorless jobs --- lib.typ | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib.typ b/lib.typ index b3505b3..985534f 100644 --- a/lib.typ +++ b/lib.typ @@ -357,6 +357,7 @@ doc, layout: "simple", university: "ХНУРЕ", + edu_program: none, subject: none, type: none, number: none, @@ -369,7 +370,9 @@ import "src/layouts/pz-lb/minimal.typ": * import "src/layouts/pz-lb/simple.typ": * - let edu_program = authors.first().edu_program + let edu_program = if edu_program != none { edu_program } else if true { + authors.first().edu_program + } let uni = universities.at(university) set document(title: title, author: authors.map(c => c.name))