Pdf export for assignments