It took Alasdair Gray around 30 years to write his landmark 1981 novel Lanark. Picture: Peter McNally