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.

24 lines
697 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="${1}_with_Resume.pdf"
  12. pdfjam --fitpaper 'true' --rotateoversize 'false' --suffix joined --no-landscape --outfile $outfile ${1}.pdf DPSResume.pdf
  13. #pdfjoin ${1}.pdf DPSResume.pdf --no-landscape --outfile $outfile
  14. chown $userid:$userid $outfile
  15. chmod 666 $outfile
  16. rm DPSResume.log
  17. rm ${1}.log