added compilation of .tex files to .pdf on save