tex clean script