make tex/pdf file