Compare commits
2 Commits
adcf470b30
...
a7ec28cf5c
| Author | SHA1 | Date | |
|---|---|---|---|
| a7ec28cf5c | |||
| 9ea1970fcf |
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -1,4 +1,4 @@
|
||||
[submodule "latex-homework"]
|
||||
path = src/template
|
||||
url = https://github.com/gijs-pennings/latex-homework.git
|
||||
url = git@github.com:philippezwietering/latex-homework-fix-libertinusdisplay.git
|
||||
branch = master
|
||||
|
||||
@@ -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
|
||||
Submodule src/template updated: 27c126f055...5640ec8ace
Reference in New Issue
Block a user