The hanging chain problem in the sphere and in the hyperbolic plane | Publicación