The public sources for my resume. These sources are auto compiled and published upon changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
565 B

  1. #!/usr/bin/env bash
  2. cd /source
  3. userid="$(cat userid.info)"
  4. # Get PDFJam to combine the pdf's
  5. curl -LSO http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/pdfjam_latest.tgz
  6. tar -zxvf pdfjam_latest.tgz
  7. export PATH="$PWD/pdfjam/bin:$PATH"
  8. # Script to build a PDF from the latex source
  9. latex --output-format pdf DPSResume.tex
  10. latex --output-format pdf ${1}.tex
  11. outfile="DPSResume_With_Coverletter.pdf"
  12. pdfjoin ${1}.pdf DPSResume.pdf --outfile $outfile
  13. chown $userid:$userid $outfile
  14. chmod 666 $outfile
  15. rm DPSResume.log
  16. rm ${1}.log