How to dynamically split a PDF?
My use case is I have a large PDF that is essentially a bunch of smaller PDFs stitched together. Each smaller PDF has a dynamic number of pages, and they’re split by a separator page, so a human can tell when an individual document starts.
I know there’s a PDF Tools plug in, but it doesn’t seem like there’s functionality to split by a separator page or something similar - it’s all by a specified page range or by number of pages in a document.
The best thing I can think of right now is to use AI or something to find out where the separator pages are, the page ranges of the individual documents are, and loop through the large document until the end, but that sounds like it might be complicated and I’m wondering if there’s a simpler solution?
Thank you in advance!
