diff --git a/build.sh b/build.sh index de66882..b2dc43d 100755 --- a/build.sh +++ b/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 diff --git a/mskor_resume-0.png b/mskor_resume-0.png new file mode 100644 index 0000000..906c434 Binary files /dev/null and b/mskor_resume-0.png differ diff --git a/mskor_resume-1.png b/mskor_resume-1.png new file mode 100644 index 0000000..ca88ff4 Binary files /dev/null and b/mskor_resume-1.png differ diff --git a/mskor_resume.pdf b/mskor_resume.pdf new file mode 100644 index 0000000..bfe9782 Binary files /dev/null and b/mskor_resume.pdf differ diff --git a/resume.tex b/mskor_resume.tex similarity index 100% rename from resume.tex rename to mskor_resume.tex diff --git a/output.txt b/output.txt new file mode 100644 index 0000000..b6004e2 --- /dev/null +++ b/output.txt @@ -0,0 +1,5 @@ +Building resume +Generating resume PDF +Deleting build files +Creating PNG version +Done. diff --git a/resume.pdf b/resume.pdf index 66b4c42..6005d54 100644 Binary files a/resume.pdf and b/resume.pdf differ