Technology has changed the way book publishing works as it has changed everything else in the world of media.