Added PNG build step, changed to 'mskor_...'
This commit is contained in:
parent
254c8ef35f
commit
103109f0e8
7 changed files with 9 additions and 2 deletions
6
build.sh
6
build.sh
|
@ -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
BIN
mskor_resume-0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 106 KiB |
BIN
mskor_resume-1.png
Normal file
BIN
mskor_resume-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
BIN
mskor_resume.pdf
Normal file
BIN
mskor_resume.pdf
Normal file
Binary file not shown.
5
output.txt
Normal file
5
output.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
Building resume
|
||||
Generating resume PDF
|
||||
Deleting build files
|
||||
Creating PNG version
|
||||
Done.
|
BIN
resume.pdf
BIN
resume.pdf
Binary file not shown.
Loading…
Reference in a new issue