generate references on papers automatic