Use PDF mode in LaTeX