auto revert mode for tex files