Writing books isn’t a drastic departure from writing for the stage.