Writers have long walked a tightrope between inspiration and income. For centuries the pen was mightier than the sword but not stronger than the wallet.