Add all faculties, add watch_example target
This commit is contained in:
4
Makefile
4
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
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user