Added PNG build step, changed to 'mskor_...'

This commit is contained in:
mskorczak 2023-10-24 18:15:47 +01:00
parent 254c8ef35f
commit 103109f0e8
7 changed files with 9 additions and 2 deletions

View file

@ -1,10 +1,10 @@
#!/bin/bash
BUILDFILES=("resume.tex","altacv.cls","README.md","build.sh","output.txt","resume.pdf")
BUILDFILES=("mskor_resume.tex","altacv.cls","README.md","build.sh","output.txt","mskor_resume.pdf","mskor_resume.png")
echo "Building resume and deleting output.txt"
rm output.txt
echo "Building resume" | tee -a output.txt
echo -e "Generating resume PDF" | tee -a output.txt
pdflatex resume.tex -o resume.pdf > /dev/null
pdflatex mskor_resume.tex -o mskor_resume.pdf > /dev/null
echo -e "Deleting build files" | tee -a output.txt
FILES=$(ls -r)
for file in $FILES
@ -14,4 +14,6 @@ do
rm $file
fi
done
echo -e "Creating PNG version" | tee -a output.txt
convert -density 150 mskor_resume.pdf -quality 90 mskor_resume.png
echo -e "Done." | tee -a output.txt

BIN
mskor_resume-0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
mskor_resume-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
mskor_resume.pdf Normal file

Binary file not shown.

5
output.txt Normal file
View file

@ -0,0 +1,5 @@
Building resume
Generating resume PDF
Deleting build files
Creating PNG version
Done.

Binary file not shown.