prepare for merging assignment and these example generation
This commit is contained in:
9
Makefile
9
Makefile
@@ -7,7 +7,7 @@ watch_documentation:
|
||||
typst watch --font-path template/fonts documentation.typ & xdg-open documentation.pdf
|
||||
|
||||
.PHONY: watch_%
|
||||
watch_%: %.pdf %_assignment.pdf
|
||||
watch_%: %.pdf
|
||||
xdg-open $< & typst watch --root . --font-path template/fonts theses/$*.typ $<
|
||||
|
||||
.PHONY: documentation
|
||||
@@ -32,7 +32,7 @@ bundle: $(BUNDLE_TARGETS)
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf pack
|
||||
rm -f documentation.pdf bp_cs.pdf bp_assignment_cs.pdf dp_cs.pdf
|
||||
rm -f ./*.pdf
|
||||
|
||||
pack/tultemplate2.zip: $(PACK_TARGETS)
|
||||
@mkdir -p $(@D)
|
||||
@@ -92,10 +92,7 @@ TEMPLATE_SRCS := $(shell find template -type f)
|
||||
documentation.pdf: documentation.typ $(TEMPLATE_SRCS)
|
||||
typst compile --font-path template/fonts $<
|
||||
|
||||
%_assignment.pdf: theses/%_assignment.typ
|
||||
typst compile --font-path template/fonts --root . $< $@
|
||||
|
||||
%.pdf: theses/%.typ %_assignment.pdf
|
||||
%.pdf: theses/%.typ
|
||||
typst compile --font-path template/fonts --root . $< $@
|
||||
|
||||
include tests/make.mk
|
||||
|
||||
@@ -5,12 +5,35 @@
|
||||
faculty: "fm",
|
||||
lang: "cs",
|
||||
document: "bp",
|
||||
title_pages: "bp_cs_assignment.pdf",
|
||||
assignment: (
|
||||
personal_number: "A00000007",
|
||||
department: "Ústav šablon",
|
||||
academical_year: "2025/2026",
|
||||
content: [
|
||||
= Zásady pro vypracování:
|
||||
+ Seznamte se s možnostmi šablon
|
||||
+ Navrhněte několik možných stylů šablon
|
||||
+ Seznamte se s nástrojem Typst
|
||||
+ Implementujte šablonu
|
||||
+ Zkonzultujte šablonu
|
||||
+ Opravte spoustu věcí
|
||||
+ Zkonzultujte šablonu
|
||||
+ Opravte spoustu věcí
|
||||
+ Zkonzultujte šablonu
|
||||
+ Snad už nebude nic potřeba opravit
|
||||
= Seznam odborné literatury:
|
||||
_Přísně tajné_
|
||||
],
|
||||
),
|
||||
title: (
|
||||
cs: "Ukázka dokumentu typu Bakalářská práce pro FM TUL v češtině",
|
||||
en: "Example document for a Bachelor's thesis for FM TUL in Czech",
|
||||
),
|
||||
author: "Matěj Žucha",
|
||||
author_pronouns: "masculine",
|
||||
programme: (cs: "MI6000000007 Přísně tajné"),
|
||||
specialization: (cs: "Vytváření šablon"),
|
||||
supervisor: "Ondřej Mekina",
|
||||
abstract: (
|
||||
cs: [
|
||||
Tento dokument slouží jako praktická ukázka všech důležitcýh funkcí šablony _tultemplate2_,
|
||||
|
||||
Reference in New Issue
Block a user