text_ast was just doing latex_ast which was wrong