Books make for social change at huge Edinburgh sale