Compare commits
2 Commits
c1e7885677
...
62f190c5b1
Author | SHA1 | Date | |
---|---|---|---|
62f190c5b1 | |||
3c6dd62919 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
template_upstream
|
||||
archive
|
||||
template.zip
|
@@ -1,8 +1,6 @@
|
||||
# THIS WILL NOT WORK IF YOU RUN IT YOURSELF!
|
||||
# TUL Typst template generator
|
||||
|
||||
The generator expects `template.zip` with the full template included, it just injects its own `thesis.typ` into it.
|
||||
|
||||
I'll make the script for generating this archive when I get back from work today lol.
|
||||
Before you host this yourself, make sure to run the `build.sh` script to create the template archive. Without it, the generator will not work.
|
||||
|
||||
[Here's a running instance of this generator, just to get a rough idea.](https://internal.prochazkaml.eu/tultemplategen)
|
||||
|
||||
|
BIN
assignment.pdf
Normal file
BIN
assignment.pdf
Normal file
Binary file not shown.
22
build.sh
Executable file
22
build.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
mkdir -p archive
|
||||
|
||||
if [ ! -d template_upstream ]; then
|
||||
git clone git@gordon.zumepro.cz:tul/tultemplate2 template_upstream
|
||||
else
|
||||
cd template_upstream
|
||||
git pull
|
||||
cd ..
|
||||
fi
|
||||
|
||||
cp -r \
|
||||
template_upstream/template \
|
||||
template_upstream/citations.bib \
|
||||
template_upstream/Makefile \
|
||||
assignment.pdf \
|
||||
archive
|
||||
|
||||
rm template.zip
|
||||
cd archive
|
||||
zip -r ../template.zip *
|
||||
cd ..
|
||||
|
2
data.js
2
data.js
@@ -167,7 +167,7 @@ const pronouns_en = {
|
||||
|
||||
const assignment_formats = {
|
||||
"empty": {
|
||||
name: "Vložit do dokumentu prázdnou stránku.\nTuto stránku poté nahradíte podepsaným zadáním."
|
||||
name: "Vložit do dokumentu prázdnou stránku.\nTuto stránku poté nahradíte podepsaným zadáním před vazbou dokumentu."
|
||||
},
|
||||
"external": {
|
||||
name: "Vložit do dokumentu zadání ve formě PDF."
|
||||
|
Reference in New Issue
Block a user