LaTeX save and compile