Rebuild documentation and make latex