The closure of the city’s biggest library is a loss to the public, and some of the other libraries are also battling to keep the culture of books alive