From cae85646e655b2b4f7b5df60d22cb98163646796 Mon Sep 17 00:00:00 2001 From: Matej-Zucha-TUL Date: Wed, 1 Oct 2025 13:04:33 +0200 Subject: [PATCH] Add all faculties, add watch_example target --- Makefile | 4 ++++ template/template_classic.typ | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20ac6ab..7730c77 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,10 @@ view_example: example.pdf xdg-open $< +PHONY: watch_example +watch_example: + typst watch --font-path template/fonts example.typ & xdg-open example.pdf + .PHONY: example example: example.pdf diff --git a/template/template_classic.typ b/template/template_classic.typ index 91fe320..06d02bf 100644 --- a/template/template_classic.typ +++ b/template/template_classic.typ @@ -27,7 +27,7 @@ // document type if type(document_type) != type(none) { - let document_types = ("bp", "dp", "ds"); + let document_types = ("bp", "dp", "dis", "hab", "teze", "autoref", "proj", "sp"); assert_in_arr(document_type, document_types, "document type abbreviation"); text(get_lang_item(language, document_type), weight: "bold", font: base_font); v(0em);