Compile LaTeX stuff upon saving.