By Kristin E. Holmes INQUIRER STAFF WRITER Nelson Shanks, 77, of Andalusia, Bucks County, a renowned painter, art historian and teacher, who depicted subjects including Pope John Paul II and President Bill Clinton with what critics called a peerless realism, died at home late Friday of complications from cancer.