Being a book festival, of course there are plenty of events that focus on writers and writing, including some tutorials and workshops.

In Writing for Theatre (Tuesday 15 August), Mexican dramatist Ximena Escalante offers to "lead you through the creative process for producing writing for the contemporary theatre". The event includes a cocktail and special offer courtesy of The Printing Press Bar and Kitchen.

If you prefer to write for the small screen, Amanda Coe and Louise Doughty offer to take you through the process of Creating the TV Adaptation (Wednesday 16 August). Coe adapted Doughty's psychological thriller Apple Tree Yard for the BBC, which starred Emily Watson as Yvonne Carmichael.

Flight is a performance that features in the programme for the Edinburgh International Festival. It was based on a story by Caroline Brothers, Hinterland, which was adapted by playwright Oliver Emanuel. Author and playwright come together to discuss "the dismantling of one art form to create another" in From Page to Performance (Thursday 24 August).

TV comedy writer Andy Hamilton comes Out of the Scriptwriting Shadows (Wednesday 16 August) to talk about his debut novel The Star Witness, about a soap star whose life is about to unravel horribly, novelist Tracy Chevalier talks about transferring Shakespeare's Othello to 1970s Washington DC in her novel New Boy in Dragging Shakespeare into the 1970s (Sunday 20 August) and novelist and scriptwriter Hanif Kureishi talks about his latest novel The Nothing in Best Served Cold (Tuesday 22 August).