Fixed PDF latex engine