I have a large PDF that's formatted like an application -- it has several sections for the applicant to fill out information covering different areas (think contacts, insurance, etc). In a given PDF, there are around 30 sections. My desired end state or output would be 30 different PDFs, each with their own respective information from the main PDF, but without any information from other sections. For example, say on page 2, section x ends mid way through the page, and section y begins on the second half of the page. Section X's PDF would end with half a PDF page, and section Y's PDF would start with half a PDF page, without the other's information on it. The section headers will be known in advance. I've been trying to write a script using PyMuPDF and Witz, but cannot get it right. If anyone could help me come up with some code that could do this, that would be greatly appreciated! The section headers will be known in advance. I've been trying to write a script using PyMuPDF and Witz, but cannot get it right. If anyone could help me come up with some code that could do this, that would be greatly appreciated! Continue reading...