new variant of lhapdf_makeLinks