A study in books about the end of the world.