Generating a PDF with tasks