added pdf rendering of slides