add code to include source files when creating PDF.