Textbook on spherical astronomy