Well, "writing" is a misnomer. Sheldon talks books. He dictates to his secretary, Mary Langford, who happens to be a court reporter. She runs the machine's tape through a computer and it emerges as a portion of the manuscript.