modify tex files