reformat pdf links