strip LaTeX stuff