Fix #104 pdf build with LaTeX is broken