fix bugs and add refs to images

This commit is contained in:
2025-09-19 14:41:20 +02:00
parent be30ae7a81
commit d06c6301a7
10 changed files with 112 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
all: all_booklets all_docduments
all: all_booklets all_docduments package
all_docduments: prepare pdf/plan_van_aanpak.pdf pdf/detailontwerp_stabilisatie.pdf pdf/detailontwerp_stuursysteem.pdf pdf/unittest_stabilisatie.pdf pdf/softwareontwerp_stabilisatie.pdf pdf/projectdocument.pdf pdf/pakket_van_eisen.pdf pdf/competenties.pdf pdf/foc_onderzoek.pdf
all_booklets: prepare pdf/plan_van_aanpak.booklet.pdf pdf/detailontwerp_stabilisatie.booklet.pdf pdf/detailontwerp_stuursysteem.booklet.pdf pdf/unittest_stabilisatie.booklet.pdf pdf/softwareontwerp_stabilisatie.booklet.pdf pdf/projectdocument.booklet.pdf pdf/pakket_van_eisen.booklet.pdf pdf/competenties.booklet.pdf pdf/foc_onderzoek.booklet.pdf
@@ -15,7 +15,7 @@ clean_all:
install_arch:
mkdir -p build/install
pacman -Sy --noconfirm --needed curl unzip texlive-basic texlive-langeuropean pandoc
pacman -Sy --noconfirm --needed curl zip unzip texlive-basic texlive-langeuropean pandoc
test -e build/install/ubuntu.zip || curl https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip -o build/install/ubuntu.zip
test -d build/install/ubuntu && rm -r build/install/ubuntu || echo
@@ -28,7 +28,7 @@ install_arch:
test -e build/install/roboto.zip || curl https://dl.dafont.com/dl/?f=roboto -o build/install/roboto.zip
test -d build/install/roboto && rm -r build/install/roboto || echo
mkdir build/install/roboto
mkdir build/install/roboto
unzip build/install/roboto.zip -d build/install/roboto
mkdir -p /usr/share/fonts/roboto
cp build/install/roboto/*.ttf /usr/share/fonts/roboto/
@@ -39,7 +39,7 @@ install_ubuntu:
mkdir -p build/install
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
curl unzip texlive texlive-lang-european texlive-lang-greek texlive-xetex pandoc
curl zip unzip texlive texlive-lang-european texlive-lang-greek texlive-xetex pandoc
test -e build/install/ubuntu.zip || curl https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip -o build/install/ubuntu.zip
test -d build/install/ubuntu && rm -r build/install/ubuntu || echo
@@ -52,7 +52,7 @@ install_ubuntu:
test -e build/install/roboto.zip || curl https://dl.dafont.com/dl/?f=roboto -o build/install/roboto.zip
test -d build/install/roboto && rm -r build/install/roboto || echo
mkdir build/install/roboto
mkdir build/install/roboto
unzip build/install/roboto.zip -d build/install/roboto
mkdir -p /usr/share/fonts/roboto
cp build/install/roboto/*.ttf /usr/share/fonts/roboto/
@@ -226,3 +226,9 @@ pdf/projectdocument.booklet.pdf: converters/bookletify.latex pdf/projectdocument
sed -e 's|?pdf?|../../pdf/projectdocument.pdf|' converters/bookletify.latex >build/projectdocument.booklet/bookletify.latex
pdflatex -interaction=nonstopmode -output-directory="build/projectdocument.booklet" "build/projectdocument.booklet/bookletify.latex"
mv build/projectdocument.booklet/bookletify.pdf pdf/projectdocument.booklet.pdf
package: pdf/projectdocument.pdf externe_bijlagen/*
mkdir -p build/export
cp externe_bijlagen/* build/export/
cp pdf/projectdocument.pdf build/export/
cd build/export && zip ../../pdf/spc_documentatie.zip *