two ways to make pdfs