ABOUT a decade ago, libraries across the world faced a dilemma. Their vital functions - to supply books and access to information for the public - were being replaced by Amazon, e-books and public...