fixed generation of slides.pdf