compile .tex file to .pdf file directly.