setup tex file