Compile .tex file and make pdf file from .dvi file