Create example directory for sample usage and generate pdf.