Compare commits

..

2 Commits

Author SHA1 Message Date
a7ec28cf5c Overbodig build script nu
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2025-11-16 00:37:06 +01:00
9ea1970fcf Fixed submodule 2025-11-16 00:36:47 +01:00
3 changed files with 2 additions and 35 deletions

2
.gitmodules vendored
View File

@@ -1,4 +1,4 @@
[submodule "latex-homework"] [submodule "latex-homework"]
path = src/template path = src/template
url = https://github.com/gijs-pennings/latex-homework.git url = git@github.com:philippezwietering/latex-homework-fix-libertinusdisplay.git
branch = master branch = master

View File

@@ -1,33 +0,0 @@
#!/bin/bash
# Build all directories
subdirectory_file_name=main
cd assignments
for D in *; do
if [ "${D}" != "template" ] && [ -d "${D}" ]; then
echo "Building ${D}..."
cd "${D}"
pdflatex -interaction=batchmode -halt-on-error "${subdirectory_file_name}.tex"
pdflatex -interaction=batchmode -halt-on-error "${subdirectory_file_name}.tex"
cd ..
fi
done
# Build main PDF
main_file_name=main_text
echo "Building main PDF..."
pdflatex -interaction=batchmode -halt-on-error "${main_file_name}.tex"
pdflatex -interaction=batchmode -halt-on-error "${main_file_name}.tex"
# Clean up
rm -rf *.aux *.log *.out *.toc
for D in *; do
if [ "${D}" != "template" ] && [ -d "${D}" ]; then
cd "${D}"
rm -rf *.aux *.log *.out *.toc
cd ..
fi
done