clean up tex output