modify tex and pdf