add tex file support