convert PDF to LaTeX Tag