For decades, the author of “In the Night Kitchen” and “The Nutshell Library” fortified himself with art and words.