Mike Freemantle on the iron compound that has been turning oak gall extract into indelible ink for centuries, but is now eating though our ancient manuscripts and musical scores