trying to replace &web and &tex automatically