gets tex and pdf and converts tex to html