updated latex converter