sync html and add latex