trying to add tex support