James Robertson, Ali Smith, Andrew O'Hagan, Peter May, Maggie O'Farrell and Denise Mina are among the leading Scottish authors appearing at the festival, which will celebrate 30 years of Ian Rankin's Inspector Rebus novels and 20 years since JK Rowling's first Harry Potter novel was published.