Refactor + Also rerun latex when longtable package requires it