Tex file generating - yay