Converting eps images to pdf using latex engine